• 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
Memory leak when re-alloc Methods
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Memory leak when re-alloc Methods


  • Subject: Memory leak when re-alloc Methods
  • From: email@hidden
  • Date: Mon, 14 Apr 2008 23:05:09 +0000
  • Importance: Normal
  • Sensitivity: Normal

Hi and sorry for my bad english.

I have a nasty leak problem when i realloc several methods of the main class of my app.

I have a button that initiate a series of methods of my Main Model Class for initialize and display sprites.  In a NSView, when i alloc the class for the first time every is fine, no noticiables memory leak in the app, however when i press the button that call the methods more than one time the memory consumed by my app increase heavily, perhaps when i re alloc and initialize the same methods the older version is still live in the computer memory, i dont know, but i can tell you, in every class i have created i implemented a dealloc method releasing all my objects but the memory leak is still here, thanks for your time and your opinions about this bug.


Enviado desde mi BlackBerry de Movistar

_______________________________________________

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

  • Follow-Ups:
    • Re: Memory leak when re-alloc Methods
      • From: "I. Savant" <email@hidden>
    • Re: Memory leak when re-alloc Methods
      • From: "Mike R. Manzano" <email@hidden>
  • Prev by Date: Re: Window moved when dock appears.
  • Next by Date: Re: NSMatrix Content Binding
  • Previous by thread: NSMenuItem view bug with status bar menu
  • Next by thread: Re: Memory leak when re-alloc Methods
  • Index(es):
    • Date
    • Thread