Wednesday 15 May 2013

jboss - How to calculate launch configuration properties? -



jboss - How to calculate launch configuration properties? -

in eclipse jboss 7.1 vm arguments ram 8gb vm arguments have statements ; -server -xms64m -xmx512m -xx:maxpermsize=1024m how calculate bold numbers?

**

caused by: java.lang.outofmemoryerror: java heap space

**

you getting error because server used of available memory (in case, 512mb). can increment xmx param, sets maximum amount of memory server can use.

outofmemoryerror can happen because of insufficient memory assignment, or memory leaks (objects java's garbage collector can't delete, despite not beingness needed).

there no magic rule calculate params, depend on deploying jboss, how much concurrent users, etc, etc, etc.

you can seek increasing xmx param, , check jvisualvm memory usage, see how behaves..

jboss

No comments:

Post a Comment