• 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: Window resizing make weird things happen
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Window resizing make weird things happen


  • Subject: Re: Window resizing make weird things happen
  • From: Sam Goldman <email@hidden>
  • Date: Thu, 16 Aug 2001 00:03:25 -0700

I read over those pages, learned a good deal, and then implemented what I think to be an adequate memory management system. My problem, however, remains. When I resize the window it turns all white and the table view doesn't scroll very well. I don't know if there is still a huge memory leak or not, but if someone want's to help me out a little more one-on-one I would be *so* greatful.

I know this is a huge favor, but there are only about 30 lines of code.

thanks in advance,
sam


On Wednesday, August 15, 2001, at 11:27 AM, Finlay Dobbie wrote:


On Wednesday, August 15, 2001, at 06:49 pm, email@hidden wrote:

I bet this is due to memory leaks, but I have no idea on how to read the output of MallocDebug. If memory leaks are the problem, please direct me to a site or (if it isn't a bother) explain the application to me I would really appreciate it. It is something I have to learn if I want to go anywhere in writing programs in any language (except maybe Java, since it auto collects garbage).

You really want ObjectAlloc not MallocDebug, and there is an article on memory management in Cocoa at http://www.stepwise.com/Articles/Technical/2001-03-11.01.html and a more in depth one at http://www.stepwise.com/Articles/Technical/HoldMe.html and a whole section of www.cocoadev.com devoted to it (under MemoryManagement, IIRC).


References: 
 >Re: Window resizing make weird things happen (From: Finlay Dobbie <email@hidden>)

  • Prev by Date: Re: NSButton (Switch)
  • Next by Date: Re: Changing the case of a filename?
  • Previous by thread: Re: Window resizing make weird things happen
  • Next by thread: Re: Window resizing make weird things happen
  • Index(es):
    • Date
    • Thread