Heap Memory

Hi all,Increasing the heapmem of Java. I know you have to use the -xms or the -xmx. do i need both or just 1 and what could be the right syntax?cheers
[171 byte] By [Monzaa] at [2007-11-26 22:25:06]
# 1

It depends upon your requirement. By making use of both you can define start and end size of the heap.

For example, the java option -Xmx768m gives it a 768MByte heap, maximum but starts with just a 2MB heap. You can add -Xms256m (for example) to make the heap sart at 256MB - this can be more CPU efficient if your going to need that larger space anyway

Usage example: java -Xms64m -Xmx512m

ashug92a at 2007-7-10 11:25:45 > top of Java-index,Desktop,Sun Java Desktop System...