• 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
Need help with a nasty memory management problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Need help with a nasty memory management problem


  • Subject: Need help with a nasty memory management problem
  • From: Michael Heinz <email@hidden>
  • Date: Fri, 5 Aug 2005 18:48:19 -0400

I've got a program to convert PDFs to Jpegs formatted for the Sony PSP (http://pdf2psp.sourceforge.net) that's got a nasty memory problem - when processing a large pdf it becomes huge (over a gigabyte!) - but when processing is finished it shrinks back to a svelte 2 megs.

Malloc debugger says I'm not leaking - but obviously I need to periodically force a garbage collection loop. Is there some way to force garbage collection to occur?

Can I spawn a secondary thread to do garbage collection?

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Memory management problem - solvee
      • From: Michael Heinz <email@hidden>
    • Re: Need help with a nasty memory management problem
      • From: Nick Zitzmann <email@hidden>
    • Re: Need help with a nasty memory management problem
      • From: Andreas Mayer <email@hidden>
  • Prev by Date: Re: Is there a way to "globally" #define some value as if it were in some main header file?
  • Next by Date: Re: [NEWBIE] Core Data - custom accessor does not work
  • Previous by thread: Re: [NEWBIE] Core Data - custom accessor does not work
  • Next by thread: Re: Need help with a nasty memory management problem
  • Index(es):
    • Date
    • Thread