Monitoring memory

You can automatically monitor and adjust your development environment when available memory falls below specified levels. When the Memory monitor is enabled, the monitor runs in the background .

Before you begin

Note: This function is not available on the OS X operating system.

Procedure

  1. Open the preferences dialog by clicking Window > Preferences > General > Performance Monitors > Memory Monitor.
  2. Select Enable memory monitoring.
  3. Specify the poll interval in seconds. The poll interval specifies how often the resource monitor checks the resource value.
  4. Specify the RAM use in percent. The RAM usage percentage specifies the maximum amount of RAM that can be used before memory freeing tasks occur.
  5. Click Advanced to configure RAM usage settings:
    Routine RAM usage
    Components can release caches that are easy to recompute. The Java™ VM process size is higher than acceptable levels.
    Serious RAM usage
    Components can release complex intermediate models, such as intermediate build results. Memory is low causing swapping.
    Emergency RAM usage
    Components can release structures and resources that can be expensive to recompute. Memory is very low and drastic memory reducing measures are required.

Results

If the monitor determines that memory usage is above the levels that you specified, memory is cleared. Clearing memory may involve clearing unseen internal data structures or in more serious cases, can involve visible changes such as closing editors, perspectives, or closing database connections.

To immediately reduce the amount of memory, click Reduce Memory Now. You can also reduce memory by clicking Help > Performance > Reduce Memory. For more information refer to Reducing memory.


Feedback