• 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
Unconventional memory leak problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Unconventional memory leak problem


  • Subject: Unconventional memory leak problem
  • From: Rodney Kennedy <email@hidden>
  • Date: Wed, 6 Sep 2006 09:56:38 +1000

I have something that appears like a memory leak with the
culprit allocations are related to drawing interface objects
such a NSTableView in 4 or so windows.  This is a problem
when I run in a batch mode which induces a considerable amount of
screen drawing including rendering images.  The odd thing is
when I interact with the running Application, such as click on
a window or activate or deactivate the application this induces
the AppKit deallocations. If I leave it alone as the active
application or it is not active the real and virtual memory uses
rise and the application will eventually crash.

This is not like a conventional memory leak since there are
deallocations.

I do run multiple threads but I put all drawing on the main thread.
It seems to be NSView related, induced by drawRect calls and it feels
like there needs to be periodic flushing required of something.

Rod



_______________________________________________
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:
    • Re: Unconventional memory leak problem
      • From: Shawn Erickson <email@hidden>
    • Re: Unconventional memory leak problem
      • From: "Tom Harrington" <email@hidden>
  • Prev by Date: Re: Is it possible that PreferencePane's share "classes name space"?
  • Next by Date: Re: Programatically detect if any autorelease pool exists?
  • Previous by thread: Scroll arrows are not working?
  • Next by thread: Re: Unconventional memory leak problem
  • Index(es):
    • Date
    • Thread