문제

A client has java heap space problems. His environment seems to limit max heap space to 300 MB. My application should work with that, although it consumes more if it can. That's why I tried to limit the heap space by parameter to verify my claim. It is a webstart application, why I run from the console:

javaws -J-Xmx300m http://localhost:8080/application

However the according javaw process is using 400 MB of RAM. Is there something wrong with the parameter or can't that be used to really limit the heap space?

도움이 되었습니까?

해결책

The parameter is working correctly, but as stated by @Jay the RAM usage is the sum of more as the heap space. See the linked question.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top