On Jan 7, 2008, at 3:22 AM, Christiaan Hofman wrote: > Adam, perhaps you have an idea on this. With some PDFs, I see a > considerable memory leak in thumbnail drawing (in some cases 100MB). > I tracked the trouble to -[PDFPage drawWithBox]. The PDFView > sometimes drops graphics from the offending pages and does not seem > to have the leak and slowdown, at least not as much. The thumbnails > never drop graphics. I can send a file if you want (can't attach it > on the list).
Wow! That's a pretty incredible leak; I've never seen anything like it. It'd be interesting to see if it's fixed in Leopard, but I don't have any ideas for workarounds. Did you try overriding drawWithBox: to get the CGPDFPageRef via -pageRef and draw it directly to see if that "fixes" the leak? ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ skim-app-develop mailing list skim-app-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/skim-app-develop