Discussion:
[daemon] - High memory consumption
(too old to reply)
Kenneth Vindum
2018-03-19 08:32:47 UTC
Permalink
Dear user list

I'm having a bit of trouble with memory consumption using procsrv.exe.
I've set the --JvmMX=4096 but the .exe process is consuming nearly 7GB of memory despite the fact that the JVM only consumed the requested 4GM. The remaining 3GB seems to be consumed by procsrv.exe

I can see in VisualVM that the JVM has registered the -Xmx4096m argument and are using the expected 4GB. But what can be causing the procsrv.exe to be using additionally 3GB? Any help will be appreciated.

Best regards,
 
Kenneth Vindum


---------------------------------------------------------------------
To unsubscribe, e-mail: user-***@commons.apache.org
For additional commands, e-mail: user-***@commons.apache.org
Mark Thomas
2018-03-19 09:51:22 UTC
Permalink
Post by Kenneth Vindum
Dear user list
I'm having a bit of trouble with memory consumption using procsrv.exe.
I've set the --JvmMX=4096 but the .exe process is consuming nearly 7GB of memory despite the fact that the JVM only consumed the requested 4GM. The remaining 3GB seems to be consumed by procsrv.exe
I can see in VisualVM that the JVM has registered the -Xmx4096m argument and are using the expected 4GB. But what can be causing the procsrv.exe to be using additionally 3GB? Any help will be appreciated.
The 4GB is just the Java object heap. The Java process also needs to
allocate memory for:
- Permanent Space
- Code Generation
- Socket Buffers
- Thread stacks
- Direct Memory Space
- JNI Code
- Garbage Collection
- JNI Allocated Memory

How much memory will be required for all of the above is highly
application dependent.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: user-***@commons.apache.org
For additional commands, e-mail: user-***@commons.apache.org

Loading...