IPhone: Memory leak

Previous topic - Next topic

MikeHart

Hi,

as others reported a memory leak under SDK 3.0 too, I think it is save to say that this is a bug. I get a small memory leak at startup and when the app is closed. With every code.

The discussion about it was taken here: http://www.glbasic.com/forum/index.php?topic=3411.0

Cheers
Michael

MikeHart

This bug is still present in glb 7.115.

trucidare

Mein Gott, 14 bytes memory leak wegen eines calls au?erhalb des EAGLViews und du machst son Stress....
MacBook Pro 2,2 GHz Core 2 Duo, 4 GB RAM, 160 GB HDD, 8600M GT
Core i3 - 3,07 GHz, 8 GB Ram, 2.5 TB HDD, Geforce GTX 260+ OC

MrTAToad

#3
The problem is that it could be accumulative, especially if the program is run repeatedly...  It would also affect other running programs too.

trucidare

there is only a leak beforce the glbasic engine instance was called. the leaks are called from DevicID function in main.m. No problem after start the glb engine.
MacBook Pro 2,2 GHz Core 2 Duo, 4 GB RAM, 160 GB HDD, 8600M GT
Core i3 - 3,07 GHz, 8 GB Ram, 2.5 TB HDD, Geforce GTX 260+ OC

MrTAToad

Should make it easier to fix then :)

Kitty Hello

#6
I think it already is.

[edit]
I forgot the main.m file in the update. Sorry. Next update will fix it for good.