I just pushed some code fixing many of Simula's memory leaks. Right now Simula seems stable with several browsers open playing YouTube videos, etc.
Leaks that still need fixed:
Many of the old godot-extra functions imported into Types.hs leak memory (for example: getSingleton and getEngine), and we're still using them for a lot of one-time initialization calls (which aren't a big deal, but I'm just flagging it here in case we come back to this).
Opening tabs and popups in Firefox seems to very slightly accrete permanent memory usage (such that closing firefox afterwards doesn't fix). I'm not sure what's going on here since we should be deleting all surfaces when our "destroy" signal is fired.
I'm going to close this issue for now since memory leaks are effectively fixed and there are more important stability issues to work on. If we run into problems down the line I'll reopen.
I just pushed some code fixing many of Simula's memory leaks. Right now Simula seems stable with several browsers open playing YouTube videos, etc.
Leaks that still need fixed:
Types.hs
leak memory (for example:getSingleton
andgetEngine
), and we're still using them for a lot of one-time initialization calls (which aren't a big deal, but I'm just flagging it here in case we come back to this).I'm going to close this issue for now since memory leaks are effectively fixed and there are more important stability issues to work on. If we run into problems down the line I'll reopen.