Large memory usage with nightly 2.9.20150812 and delays when changing tabs, switchting to iterm
Hi,
I noticed that iterm2 was a little slow, then I noticed it was using 1.9 Gig of memory for 11 tabs with 1000 scrollback lines. I cleared the scrollback using command-shift-K but this did not help.
I collected a scample while trying to switch to a tab and I get:
2588 Thread_36720 DispatchQueue_1: com.apple.main-thread (serial)
+ 2588 start (in iTerm2) + 52 [0x10cc1dc94]
+ 2588 main (in iTerm2) + 110 [0x10cc1dd3e]
+ 2588 NSApplicationMain (in AppKit) + 1832 [0x7fff8799b244]
+ 1765 -[NSApplication run] (in AppKit) + 594 [0x7fff87a1eaf3]
+ ! 1652 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in AppKit) + 616 [0x7fff87a28f66]
+ ! : 1546 -[NSEvent _initWithCGSEvent:eventRef:] (in AppKit) + 1169 [0x7fff87af3209]
+ ! : | 1468 _NXGetTrackingIDAndUserDataForTrackingRegionID (in AppKit) + 238 [0x7fff87b8f80a]
+ ! : | + 1082 -[NSConcreteMapTable allValues] (in Foundation) + 139 [0x7fff8d5d9ec9]
+ ! : | + ! 591 CFRetain (in CoreFoundation) + 27,63,... [0x7fff86dae51b,0x7fff86dae53f,...]
+ ! : | + ! 196 objc_object::sidetable_retain() (in libobjc.A.dylib) + 94 [0x7fff8bea0422]
+ ! : | + ! : 178 objc::DenseMapBase<objc::DenseMap<DisguisedPtr<objc_object>, unsigned long, true, objc::DenseMapInfo<DisguisedPtr<objc_object> > >, DisguisedPtr<objc_object>, unsigned long, objc::DenseMapInfo<DisguisedPtr<objc_object> >, true>::FindAndConstruct(DisguisedPtr<objc_object> const&) (in libobjc.A.dylib) + 26 [0x7fff8bea161e]