• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Out of memory, or some other problem?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Out of memory, or some other problem?


  • Subject: Re: Out of memory, or some other problem?
  • From: Nick Zitzmann <email@hidden>
  • Date: Fri, 15 Jan 2010 17:19:02 -0700

On Jan 15, 2010, at 3:56 PM, Graham Cox wrote:

> I've never seen any problems with PDF generation occur before, but the user says this is a fairly large file. Is this simply a case of running out of memory, or something more insidious?

I doubt it. I looked at the source code for that function (it's part of the CFLite package on opensource.apple.com), and it doesn't actually allocate any memory. It does call a private function to grow larger, but that function's not appearing in the stack.

Of course, you can check for yourself by asking the user to return anything logged to the console prior to the generation of the crash report. malloc() will log memory allocation errors as they occur.

> Is there anything I can do about it?

Possibly dumb question: Will the user not let you see their data, or at least give you steps to reproduce the problem?

Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________

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

References: 
 >Out of memory, or some other problem? (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: Clipping subview drawing to arbitrary path or image (iPhone)
  • Next by Date: Smart folder definition dialog
  • Previous by thread: Out of memory, or some other problem?
  • Next by thread: Smart folder definition dialog
  • Index(es):
    • Date
    • Thread