my idea.exe.vmoptions seems to be ignored

this is my idea.exe.vmoptions
-Xms256m
-Xmx512m
-XX:MaxPermSize=99m
-ea
-server
-Dsun.awt.keepWorkingSetOnMinimize=true

I got some of these settings from other threads. But the lower rh corner of the IDE says 254M. I was expecting it to change to 512M

Is that a correct assumption, am i doing something wrong?
Thanks

2 comments
Comment actions Permalink

RP> Is that a correct assumption, am i doing something wrong? Thanks

As far as I know, it's incorrect :)

Java reports as max mem the memory it has used up to now, so it'll only show
512m after using that much mem at least once.

At least that's my experience in seeing the reported mem usage in my app.


0
Comment actions Permalink

The 512 is the max setting with your options. So it will grow to that value if necessary. If you would like the satisfaction of seeing 512 there you can set your min and max setting to 512:-)

0

Please sign in to leave a comment.