Increase JVM memory using Java Code
843829Dec 22 2006 — edited Dec 27 2006Hi Friends
I am in a critical situtation and not able get the solution. My application is huge and need of increase in JVM memory. I am able to increase JVM memory in command prompt
java -Xmx500m classname
Simarly I am able to run jar file also
java -Xmx500m -jar sample.jar
I need to know how to set JVM memory for executable JAR. When I just double-click the JAR application load and i am getting Out Of Memory. I dont what ti use command prompt to execute. Please help me with this program. Thanks in advance