Are you still paying for unused memory when your Java app is idle? - Java SDK
This is precisely what Eclipse OpenJ9 brings to the table. The OpenJ9 JVM has the ability to identify when an application is idle and reduce the reserved heap size down to its actual usage. This feature is enabled by specifying the –XX:+IdleTuningGcOnIdleoption option. OpenJ9 determines if an application is idle based on CPU utilization and other internal heuristics. When an idle state is established, a GC cycle runs if there is significant garbage in the heap and releases unused memory back to the operating system.
So, there is no need to worry about memory consumption and charges during idle periods. OpenJ9 is there to do the right thing, at the right time, in the right way!
Read full article from Are you still paying for unused memory when your Java app is idle? - Java SDK
No comments:
Post a Comment