Mac OS X Memory Leak

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
Khaile
Posts: 1
Joined: Wed Apr 25, 2007 7:07 pm

Mac OS X Memory Leak

Post by Khaile »

Hello

We have had great trouble trying to get rid of a memory leak in the Mac OS X device of Irrlicht 1.3. The leak occurs in the run() method when events arrive (any kind), but we can't figure out how to release them.

From what we can tell, this problem occurs in all Irrlicht example applications. You can see it yourself by starting the application and checking the memory in the Activity Monitor. The application's memory size will grow when-ever it receives events, such as mouse movements.

This is, obviously, rather annoying since - when you have played a game for an hour or so - the game consumes several hundred megabytes of your RAM :/

Does anybody know how to solve this issue? It would be greatly appreciated!
ikki
Posts: 3
Joined: Sun Nov 08, 2009 11:33 am

Re: Mac OS X Memory Leak

Post by ikki »

I have the same problem with Irrlicht 1.5.1, just moving the mouse makes a memory leak.
Does anyone have a solution on this problem?

Thanks,
ikki
Posts: 3
Joined: Sun Nov 08, 2009 11:33 am

Post by ikki »

I tried with version 1.6 and the problem is still there...
On Mac OS X, when a program (even if Irrlicht samples) is running for a long time, memory is full just moving the mouse :cry:
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Probably a wrong 'new' at some place. Could you please submit a bug ticket at our SourceForge Bug Tracker? That way we can better remember such bugs and make sure they get fixed at some point.
ikki
Posts: 3
Joined: Sun Nov 08, 2009 11:33 am

Post by ikki »

I created a new ticket.

Thank you for your help

Edit: I found another memory leak using device->setWindowCaption(), I created a ticket for this one too

edit (bitplane):
https://sourceforge.net/tracker/?func=d ... tid=540676
https://sourceforge.net/tracker/?func=d ... tid=540676
Post Reply