Quantcast
Channel: UNIX and Linux Forums
Viewing all articles
Browse latest Browse all 16232

Service memory

$
0
0
Hi

I am modifying the arguments for starting a java service.
It has some predefined arguments and I am adding my argument to increase the heap size. When starting the service my argument(Xmx256M) gets added at the end like this:-

Code:

java -server -XX:MaxPermSize=128M -Xms32M -Xmx512M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Xmx256M
Now i am confused what would be the heap size. would it be 512 or 256.

Thanks

Viewing all articles
Browse latest Browse all 16232

Trending Articles