Heap Growing too much
I have an app that uses between 120 and 800 M of memory. Its pretty predictable, so that there is an operation that temporarily need 800M memory. The problem is that on profiling, I'm noticing that each time it asks for more memory, the stack grows more, even though the Max I'm using doesn't change. I've tried various tuning params, but its not helping this problem. Is there a VM argument I can set that will help this. I know maxheap seems obvious, but I want more memory available in case I need it, I just want to stop the growing when I don't.