How to increase the Java Heap size ?
807601Feb 24 2008 — edited Feb 24 2008Hi
I am new to java. I have created a java application and i configured in Eclipse. While running my application it throws an error that
"Exception in thread "Thread-21" java.lang.OutOfMemoryError: Java heap space"
i have used threads in my application. Then i searched some forums regarding this. The answer i got is "Increase the java heap size" using
"java -Xms64m -Xmx256m prog" in command prompt. while running.
But i am not running my application in command prompt. I used Eclipse to run my application. Here my ultimate question is how to set the heap size while running the application in Eclipse and where to set in Eclipse.
Kindly help me.
Regards
Ramesh E