IDEA 12 (123.4) and memory usage Follow
I'm not understanding completely how memory works under the new IDEA 12.
according to the GC widget at the bottom of the IDEA window, i'm using 200 of 494M
My idea.exe.vmoptions is as follows
and the TaskManager reports 995MB of used memory (and 1.06GB of Virtual Memory)
Closing IDEA results in freeing 1.15GB or so
Is this working as intended ?
I'm currently loving the new IDEA, performance seems smoother expecially. But unfortunately memory is in short supply here, and I can't dedicate >1G to IDEA, or i'm out there in swapping hell
Please sign in to leave a comment.
If you are in memory constrained environment for Idea 12 you can
can switch off new compiler mode in settings : new compiler is external
process requiring additional memory.
As to original question.
Java heap allocated memory (heap stats widget) is not the only memory
used by IDEA. There is VM memory for loaded classes (aka PermGen), that
can be decreased if (e.g. -XX:MaxPermSize=150m)
Also IDEA uses quite a lot of native memory (up to 200M on x86) for the
On 11/26/2012 7:08 PM, Thibaut wrote:
thanks for the explanation.
I especially wasn't aware of the native cache handling. Is that new in Leda ?
No, but previously (< v12) we used memory mapping files and in Leda it
is direct buffers (sort of just native memory) with file streamed IO.
The limit of native memory size is the same between versions. First
variant can cause slightly smaller memory consumption though.
On 11/30/2012 1:13 AM, Thibaut wrote: