Memory Leak

Just putting the last few lines of my debug file up here in case it helps locate this memory leak. this is a standard debug file after running galciv and then exiting before a single turn.

Debug Message: Main Shell terminating normally
Debug Message: MemMan: Unable to find pointer in GetBlockInfo. Memory system: Palette
ASSERT ERROR in file g:\projects\pear\source\memman.cpp at line 579.
Debug Message: MemMan: Trying to free memory that has not been allocated. Memory System Palette
ASSERT ERROR in file g:\projects\pear\source\memman.cpp at line 361.
Debug Message: MemMan: Unable to find pointer in GetBlockInfo. Memory system: Palette
ASSERT ERROR in file g:\projects\pear\source\memman.cpp at line 579.
Debug Message: MemMan: Trying to free memory that has not been allocated. Memory System Palette
ASSERT ERROR in file g:\projects\pear\source\memman.cpp at line 361.

Paul.

84 views 3 replies
Reply #1 Top
How much ram is it taking up?
Reply #2 Top
Not sure if I understand the question, but according to my task manager, the galciv process is taking up 25944K memory. Are there any other processes I should be looking at?

Paul.
Reply #3 Top
I'm not sure if that was a relevant question. :) I think that the errors you posted are actually a resource leak, which means that the system palette is actually being overwritten or maybe just not initialized properly...I looked at it a long time ago when I was on a mem leak hunting binge, but I wasn't able to determine how to fix it.