Saturday 2 August 2008

Useful Java Fact

I was browsing through the Ubuntu Programming Forum today & found a very useful piece of information regarding the Java programming language.

Java only uses 32MB of RAM, if you need more you can specify it on the command line.

java -Xmx512m myClass

The above command will increase the memory available to your program to 512MB.

The forum thread where I found this information out can be found here.
Bookmark and Share

No comments: