Source Code Project Mantis - FSSCP
View Issue Details
0000107FSSCPDirectXpublic2004-02-16 11:432007-03-23 04:22
Assigned Totaylor 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version3.6.5 
Summary0000107: Memory leaks
DescriptionMoved to attachment.
Additional InformationCompile in debug with _REPORT_MEM_LEAKS compile flag in code.lib to recieve a detailed report like this.
TagsNo tags attached.
Attached Filestxt leak report.txt (20,383) 2004-07-29 22:28

2004-02-22 06:50   
The memory leaks arent as bad as first though.
Many modules are using atexit to free stuff.
While this is in my opinion a very bad solution the actual real memory leak list is much smaller, just the localize.cpp ones.
2004-04-02 01:36   
The localize.cpp problem should be fixed now (Bobboau did it, I think)
2004-04-02 01:43   
Bob, if you have fix this could you mark is such.
2004-07-07 08:44   
In Bob's new build 7/4/04, I can only play two missions before FSO eats up all available memory and CTD with the 'out of memory' error. In previous builds, including 3.6, I could play 4 or 5 missions before this error.
2004-07-07 09:05   
There are quite a few memory leaks remaining. I've plugged all that I can find (using the Linux build, affecting all platforms) and the build is in testing now by the people who have had the most problems. I guessed (educated) that playing a full mission and going straight to another one can lose between 8 and 20 megs depending on the mission.
2004-07-07 16:03   
Taylor, in Bob's most recent build, the memory load basically doubles from the first to the second mission. It's almost like nothing is getting released.
2004-07-29 22:29   
Be this fix0red?
2004-07-30 03:22   
I think this is fixed, just waiting until a few other people have used the new builds to make sure. The main leaks are fixed so I'm just waiting to make sure nothing else is hiding somewhere.
2004-08-19 09:22   
No complaints from the audience so it be fixered.

Issue History
2004-02-16 11:43RandomTigerNew Issue
2004-02-22 06:50RandomTigerNote Added: 0000230
2004-03-04 15:47RandomTigerStatusnew => acknowledged
2004-04-02 01:36taylorNote Added: 0000636
2004-04-02 01:41RandomTigerReporterRandomTiger => Bobboau
2004-04-02 01:43RandomTigerNote Added: 0000639
2004-04-02 01:43RandomTigerReporterBobboau => RandomTiger
2004-04-02 01:43RandomTigerAssigned To => RandomTiger
2004-07-07 08:44MosesX605Note Added: 0001043
2004-07-07 09:05taylorNote Added: 0001044
2004-07-07 16:03MosesX605Note Added: 0001045
2004-07-29 22:28Goober5000File Added: leak report.txt
2004-07-29 22:29Goober5000Note Added: 0001117
2004-07-29 22:29Goober5000Description Updated
2004-07-30 03:22taylorNote Added: 0001119
2004-07-30 03:22taylorStatusacknowledged => assigned
2004-07-30 03:22taylorAssigned ToRandomTiger => taylor
2004-08-19 09:22taylorStatusassigned => resolved
2004-08-19 09:22taylorResolutionopen => fixed
2004-08-19 09:22taylorNote Added: 0001150
2007-03-23 04:22taylorStatusresolved => closed
2007-03-23 04:22taylorFixed in Version => 3.6.5