getlantern/lantern#1581 Added memory profiling support