General discussion

Locked

run time memory for JVM

By nise_k ·
Hi friends,

Please suggest me how to set Run-time memory availbale for JVM. It seems that by default the JVM does not utilise all the memory available to it.

Regards,
Nise

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

run time memory for JVM

by okujava In reply to run time memory for JVM

u shloud start your class as follows:
java -Xms6M MyClass. -Xms provides the initial size of the memory allocation pool. it should be a multiple of 1024 or u can append k for KB und m for MB.

regards S.Okujava

Collapse -

run time memory for JVM

by nise_k In reply to run time memory for JVM

Poster rated this answer

Collapse -

run time memory for JVM

by grebenyukov In reply to run time memory for JVM

java.exe can accept following options:
-Xms<size> set initial Java heap size
-Xmx<size> set maximum Java heap size

Collapse -

run time memory for JVM

by nise_k In reply to run time memory for JVM

Poster rated this answer

Collapse -

run time memory for JVM

by nise_k In reply to run time memory for JVM

This question was closed by the author

Back to Web Development Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums