Hi,

The users of my app are reporting to me that it takes way more memory
than such app is supposed to. I've just released a new version that
was supposed to improve this at least a bit, and someone commented
that "I haven't even entered login and password and it already leaked
almost a megabyte" (posting this screenshot from Instruments:
http://static0.blip.pl/user_generated/update_pictures/1129697.jpg). I
did a test - I've removed almost everything from the app except the
login screen; and indeed, when started, the Leaks tool in Instruments
shows about 800 KB of leaked memory (I suppose it goes up over time).
All of that is shown as coming from libmacruby (though this really
just means that the app is running MacRuby, as I understand).

Now, I'm wondering:
- is this memory leaking because I'm doing something wrong (though
there's not much things I could have done wrong in a login dialog...)
- or is it leaking because MacRuby is doing something wrong
- or is it not leaking at all really, and it's just that Instruments
can't understand the memory managed by MacRuby and assumes it's leaked
even if it's not?

Here's a minimal version of the app:
http://dl.dropbox.com/u/41808/macblip_mem_test.zip

Could you take a look and give me some clues? (I'm running MacRuby 0.6 stable)

Best regards,
Jakub Suder
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to