• 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: Image Batch Processing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Image Batch Processing


  • Subject: Re: Image Batch Processing
  • From: "Daniel T. Staal" <email@hidden>
  • Date: Fri, 21 Sep 2007 11:27:57 -0400 (EDT)
  • Importance: Normal

On Fri, September 21, 2007 11:19 am, Jere Gmail said:
> HI, I've been trying to do a batch converter for images. The problem
> is the memory is not being released properly. When the for ends the
> memory is ok, but during the for it continues increasing. I have a
> function with a for loop:

Basically you've got autoreleased objects that are hanging around until
the loop is completed.  You may want to create your own autorelease pool
at the beginning of the loop and release it at the end.  (Or once every
few cycles, depending on how much the memory is growing and what you can
stand.)

Daniel T. Staal

---------------------------------------------------------------
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---------------------------------------------------------------

_______________________________________________

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: 
 >Image Batch Processing (From: "Jere Gmail" <email@hidden>)

  • Prev by Date: Re: Question about scope of "convenience objects"
  • Next by Date: Re: Image Batch Processing
  • Previous by thread: Image Batch Processing
  • Next by thread: Re: Image Batch Processing
  • Index(es):
    • Date
    • Thread