This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
hi all, i m new to java/j2ee and for that sake any IDE .. rite now i hav started using eclipse. at times, it gives me an error that says i m out of heap size memory and that i hav to use the -vmargs -xmx in command line option . wat is this heap memory ? and how do i know how much i m allocated currently and if i really need an increase in the heap size and if yes, the step by step procedure to do it...
Here, -vm is used to specify the Java VM to be used. -vmargs is used to specify the list of arguments to be passed to the VM.
However, these above setting will only change the memory given to your eclipse runtime, and not to any java applications which you may be running from within Eclipse. For such apps, you may have to set the VMargs, in the launch configuration dialogue box, where you create, manage and run your java apps.
ie. go to Run -> Run -> Java application -> arguments -> VM arguments. This will configure the VM of the actual java application that you are running thru Eclipse.
Hope this helps. Suhaasi.
Joined: Feb 07, 2006
thank you suhaasi....
i hav made the needed changes... but i stil dunno if it works .. coz, that error comes once in 15 times !