Send to Printer


Anatomy of a Cheap Win

February 26, 2013 22:56:35.584

I noticed that the app I'm working on does a fair bit of GC right as it starts (this is ObjectStudio). Turns out, there was a really cheap win, as you can see from the results below:

ObjectMemory dynamicallyAllocatedFootprint 78967736
ObjectMemory currentMemoryPolicy growthRegimeUpperBound 48000000

Pretty simple - just move the growth regime past the base memory size, and you get an immediate boost. Next up - figure out whether that starting size is optimal.


posted by James Robertson

 Share Tweet This