On Sep 8, 2009, at 5:08 AM, DairyKnight wrote:
In the code, pdfDoc is a preloaded PDFDocument object. As seen from
above,
I've released everything allocated, but in Instruments, this app
keeps on
consuming memory.
I can't find anything wrong with your code. Have you tried checking
for leaks? I'm not sure how to do it with Instruments; I generally use
the old-fashioned "leaks" command (man 1 leaks). Turn on the
environment variable "MallocStackLogging" in your app to get
backtraces in the output.
—Jens_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com