• 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: Headless Cocoa/Java app - autorelease - solution ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Headless Cocoa/Java app - autorelease - solution ?


  • Subject: Re: Headless Cocoa/Java app - autorelease - solution ?
  • From: John Stiles <email@hidden>
  • Date: Tue, 3 May 2005 07:02:49 -0700

On May 3, 2005, at 6:43 AM, String Larson wrote:

Using NSPureApplication, I get a large number of :

2005-05-03 08:34:00.847 java[11408] *** _NSAutoreleaseNoPool(): Object 0x35f370 of class NSImageCacheView autoreleased with no pool in place - just leaking 


(2 per image instance to be exact) when the NSImage instance goes out of scope. 


However, it seems that all the memory is reclaimed upon GC. Using the ActivityMonitor.app, I see both real and virtual memory end up ~where they started before entering the loop. Whereas not subclassing NSPureApplication, both the Real and virtual memory usage would just keep climbing until my system was choked. 


So, while things *seem* to be working properly, I'm pretty spooked by the 'just leaking' messages. 

Is there anyone from Apple listening ? Shed some light ?


Use MallocDebug to check and see whether all the memory was freed or not.
Apple is not obligated to help you on these mailing lists (in fact, Apple employees aren't required to sign up at all). They tend to help out of the goodness of their hearts :) If you have a reproducible problem, make a test app and file a Radar bug on it (http://bugreport.apple.com)--they are required to respond to those, at least eventually :)


 _______________________________________________
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

References: 
 >Re: Headless Cocoa/Java app - autorelease (From: Michael Hall <email@hidden>)
 >Re: Headless Cocoa/Java app - autorelease - solution ? (From: String Larson <email@hidden>)

  • Prev by Date: Re: Headless Cocoa/Java app - autorelease - solution ?
  • Next by Date: Re: Preferences file in Tiger
  • Previous by thread: Re: Headless Cocoa/Java app - autorelease - solution ?
  • Next by thread: Re: Headless Cocoa/Java app - autorelease - solution ?
  • Index(es):
    • Date
    • Thread