[GREENFOOT-231] Improve performance in order to remove visible pauses
In some scenarios there are periodic pauses. For instance the ants scenario and marbles. This has been noticed on quite fast Macs, and it should be possible to get rid of it.
This seems to happen because of garbage collection. To see this edit the greenfoot.defs file and modify the bluej.vm.args to include this:
In the ants scenario running on my MacBook I see gc times of up to 500ms which could explain the pauses.
- Issue type: Task
- Priority: Medium
- Fix versions: 2.0