Issue
How can I disable saving snapshot in NetBeans 7.1.2? It is slowing down the system dramatically. Any suggestions
Solution
The snapshots are performance snapshots taken when the IDE detects slow behavior. For obvious reasons, slower computers are more likely to trigger the collection (by taking longer than a preset amount of time to complete tasks), which then requires saving the snapshot. The saving process slows the system down even more, occasionally resulting in (for all practical purposes) an inoperable IDE.
Check your netbeans.conf
configuration file (in the etc
folder). You'll find a line for netbeans_default_options
. Make sure -J-ea
does not appear in the line. This flag enabled Java assertions, which wouldn't be a problem in itself but the slowness detector in NetBeans also uses this flag to significantly shorten the timeout before the self-profiler is enabled.
Answered By - Sam Harwell
Answer Checked By - Pedro (JavaFixing Volunteer)