How to change heap size
In version 6.0.1 for Linux, I notice the readme file says that to change the heap size, one should edit idea.sh and:
4. To adjust the value of JVM heap size open idea.sh and
modify the JVM_ARGS variable (-Xms and -Xmx).
However, there is no reference to the variable JVM_ARGS in idea.sh. Has this functionality been moved somewhere else?
请先登录再写评论。
Hello Rich,
RD> In version 6.0.1 for Linux, I notice the readme file says that to
RD> change the heap size, one should edit idea.sh and:
RD>
RD> 4. To adjust the value of JVM heap size open idea.sh and
RD> modify the JVM_ARGS variable (-Xms and -Xmx).
RD>
RD> However, there is no reference to the variable JVM_ARGS in idea.sh.
RD> Has this functionality been moved somewhere else?
You should edit the idea.vmoptions file. We'll correct the readme file.
--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Thanks much! I thought it would be something like that (or a run time parm).
For small project sizes, and 2 gig of memory, do you have a suggestion of what settings to use?
Hello Rich,
RD> Thanks much! I thought it would be something like that (or a run
RD> time parm).
RD>
RD> For small project sizes, and 2 gig of memory, do you have a
RD> suggestion of what settings to use?
256M should be generally OK. Increasing the heap size too much is not always
a good idea because it will lead to longer GC pauses.
--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Thanks much!