Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback, please email oracle-forums_moderators_us@oracle.com

Performance issues within our application

Dear Team,

We are currently facing an issue where memory is not being reduced, and we suspect that garbage collection is not functioning properly at the application server level. The application server, with 64GB of RAM and 8 CPUs, is running JDK 17. Despite our attempts to address the problem by applying the following JVM parameters, which previously worked flawlessly, we are still encountering the issue unexpectedly

JVM parameters:
export JAVA_OPTS='-server -Xms1g -Xmx48g
-XX:+UseG1GC -XX:SurvivorRatio=3
-XX:ConcGCThreads=4
-XX:ThreadStackSize=512
-XX:ParallelGCThreads=4
-XX:MaxMetaspaceSize=2g
-XX:MaxGCPauseMillis=150000
-XX:+HeapDumpOnOutOfMemoryError

Could you please suggest any additional parameters or adjustments that could help resolve this issue permanently?

Your prompt response would be greatly appreciated.

Note: Despite reducing the Xmx parameter from 48GB to 8GB, we are still encountering out-of-memory errors. Surprisingly, we have observed fluctuations in memory usage, with occasional increases and decreases as expected.

Thank you.
Best regards,
Ganeshpandi Eswaran.

Comments
Post Details
Added on Mar 14 2024
2 comments
127 views