Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

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
353 views