Bug 562450 - Consider changing default memory settings to release unused heap
Summary: Consider changing default memory settings to release unused heap
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 4.16   Edit
Hardware: PC Windows 10
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-23 23:53 EDT by Nathan Niesen CLA
Modified: 2020-04-23 23:53 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan Niesen CLA 2020-04-23 23:53:25 EDT
Consider changing default memory settings to release unused heap after complex operations.

These settings work well with the existing `-XX:+UseG1GC` to release unused heap whenever the garbage collector runs.

-XX:MinHeapFreeRatio=30
-XX:MaxHeapFreeRatio=40
-XX:-ShrinkHeapInSteps

These are not overly aggressive and work well not only with the default heap settings but also with larger heap ranges like -Xms256m -Xmx8192m. This gives large operations the memory needed without permanently consuming it.