Skip to content

Reaction Collect Garbage

Daniel Mills edited this page Mar 31, 2016 · 1 revision

What does it do?

This action forces java to clear the memory of any garbabe NOW. This will freeze the server for 0-5 seconds, so be aware. Also, please note that this does NOT prevent out of memory errors. However this can be used if you for example just finished using a lot of world edit, and the memory is not being released.

When is it used?

This is only used manually. React will not use this action as it freezes the server for a few seconds.

Configuration

Located at plugins/React/reactions/action-collect-garbage.yml

component:
  # You can disable this here. However, be aware that it won't be used.
  # React will still warn you, but will not fix the problem
  enable: true
  
  # Most reactions do not use an interval, but some do
  # You shouldn't usually need to change this.
  interval: 20