residual/residual — Issue #401: Residual: Visual Leak Detector reports 75 memory leaks.
Author: juj
Created: 2011-10-29 15:04:11+00:00
State: open

Compiled residual on VS2010 and ran it through Visual Leak Detector (http://vld.codeplex.com/)

Starting residual, and immediately closing it by pressing Quit in the main screen, I get a report of the following 75 memory leaks:

http://dl.dropbox.com/u/40949268/vldreport.txt

Looks like some of the objects that represent file handles are not freed, and neither are the singletons EventRecorder, FontManager, GuiManager, DebugManager, CursorManager and MusicManager.

My intent was to try to debug the sources of memory leaks that occur when reloading the same savegame over and over (every load of a savegame increases memory usage by about 10MB), so it would be useful to first have a clean report from residual before even starting up the game.