| Author |
-Xms -Xmx parameters
|
satyam pat
Greenhorn
Joined: Apr 16, 2011
Posts: 14
|
|
Hi there,
how would i calculate how much stack or heap memory my application needs to start with, are there any profilers tools that can help calculate this ?
Thanks
|
 |
Rohan Dhapodkar
Greenhorn
Joined: Jun 27, 2011
Posts: 23
|
|
No one can tell you how much memory your application will require, but you can use jvisualvm tool to monitor the heap memory usage by your application.
after java 1.6.13, jvisualvm is distributed with java SDK.
http://java.net/projects/visualvm/content/gettingstarted.html?VisualVM_1.1.1
|
 |
Rishi Shehrawat
Ranch Hand
Joined: Aug 11, 2010
Posts: 218
|
|
|
A load test with with the load expected in production along with monitoring using VisualVM or similar tools will give you idea about memory requirement of your application.
|
 |
 |
|
|
subject: -Xms -Xmx parameters
|
|
|