Memory Management

I was wondering if anyone had any tips for memory management or variable
control while programming in SDL, or just C++ in general.
So far, my menuscreen is fine for about 10 minutes, but afterwards it seems
there is a leak or something that is slowing it down.

Suggestions? ^^

Try valgrind (linux only) its a very good memory checker.On Jun 14, 2006, at 10:57 PM, Tyler Leynes wrote:

I was wondering if anyone had any tips for memory management or
variable
control while programming in SDL, or just C++ in general.
So far, my menuscreen is fine for about 10 minutes, but afterwards
it seems
there is a leak or something that is slowing it down.

Suggestions? ^^


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y m?viles desde 1 c?ntimo por minuto.
http://es.voice.yahoo.com

Try the Memory Manager (a.k.a. “MMGR”) from *The Fluid Studios

http://www.fluidstudios.com/
http://www.fluidstudios.com/pub/FluidStudios/MemoryManagers/Fluid_Studios_Memory_Manager.zip

Add this mem manager to you project.It will trace all your mem allocation
and will report any mem leaks.
After your close your programm it will write a mem log file.
See the readme for more information.

*
2006/6/14, Crak Otaku :

Try valgrind (linux only) its a very good memory checker.

On Jun 14, 2006, at 10:57 PM, Tyler Leynes wrote:

I was wondering if anyone had any tips for memory management or
variable
control while programming in SDL, or just C++ in general.
So far, my menuscreen is fine for about 10 minutes, but afterwards
it seems
there is a leak or something that is slowing it down.

Suggestions? ^^


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y m?viles desde 1 c?ntimo por minuto.
http://es.voice.yahoo.com


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl