A lot of memory leaks have been plugged in the Nightly Build. You can help speed up the process and catch any bugs that may appear by testing it here:
Nightly BuildI'd recommend backing up game files before using this build.
How/What to testAll resource editors have had memory leaks plugged. What you want to search for are permanent increases in memory after you open and close a resource.
To test for memory leaks, you need to grab the Resource Monitor extension from forge. When testing for memory leaks wait for about 20 seconds and then click the trash can a few times before reporting results. GC is very lazy, and only really GCs out of necessity unless you force it. Unlike previous versions reaching the 90% limit doesn't mean you have to close SW as (most) objects are actually cleared out when resources are closed. If your game has a lot of resources or you open a lot of resources, you'll hit the 90% mark but probably aren't experiencing memory leaks (we'll have a way to increase max memory down the line).
Also, ignore the results of the first "run". Meaning, there may be a small increase in memory the first time you close a certain resource or perform an action since classes not in use before are loaded for the first time.
If you suspect a memory leak:Please post used/reserve numbers for the these:
* Before you open a resource.
* After opening x amount of resources
* After closing all of the resources
Areas that are known to still leak:Dialogs in the Game Center (Such as Create New, Game Properties).
Thanks for the help!