Thursday, February 25, 2010

Java Application Memory utilization

java -jar -Xms64m -Xmx128m Test.jar

When running your java application, use above arguments. This will allocate 64MB minimum for your application and 128MB maximum. If 128MB exceeds, java will call the garbage collector.

No comments:

Post a Comment