Re: NSPDFImageRep Memory Leak?
Re: NSPDFImageRep Memory Leak?
- Subject: Re: NSPDFImageRep Memory Leak?
- From: Jens Alfke <email@hidden>
- Date: Tue, 8 Sep 2009 07:44:02 -0700
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 (email@hidden)
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:
This email sent to email@hidden