Forums Register Login

java -Xms command

+Pie Number of slices to send: Send
hi what is the default heap set by java soft?
and how can i view the default size?
and i amusing java -Xms100 for increasing the size so what is 100 here is it 100MB or 100KB?


explain me please
1
+Pie Number of slices to send: Send
See the documentation of the java launcher.

I don't know what happens if you specify "-Xms100". According to the docs, that would mean 100 bytes, but it must be a multiple of 1024. In any case, it's not right and if you mean 100 megabytes, you should specify "-Xms100m".

The default depends on the operating system. For Sun Java 5 on Windows it is 2 MB according to the documentation.
[ July 22, 2006: Message edited by: Jesper Young ]
Something about .... going for a swim. With this tiny ad ...
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 11842 times.
Similar Threads
default size of arraylist
max file name size in unix?
Default Stack Size of Java ??
Maximum JVM Settings?
Difference between ArrayList and Vector
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 19, 2024 01:51:05.