• 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: Memory Requirements
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Memory Requirements


  • Subject: Re: Memory Requirements
  • From: Kurt Revis <email@hidden>
  • Date: Tue, 19 Mar 2002 04:48:32 -0800

On Tuesday, March 19, 2002, at 12:09 AM, Sam Goldman wrote:

I have an application and I would like to measure how much (maximum) memory
is necessary for it to operate freely. I don't know much about MallocDebug
or ObjectAlloc but my first guess would be to look there.

How can I measure the memory requirements for my application. Also, how can
I use the applications provided by the dev tools to find possible leaks?

You already answered your own question. :) Run MallocDebug and read the documents that it provides in the Help menu... or at least skim through it for the parts that appear to be relevant. "Using MallocDebug" is especially likely to be helpful.

I think ObjectAlloc is less likely to be useful to you, in this case.

The book "Inside Mac OS X: Performance" also has some good information in it, not found elsewhere.
http://developer.apple.com/techpubs/macosx/Essentials/Performance/index.html

--
Kurt Revis
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Memory Requirements (From: Sam Goldman <email@hidden>)

  • Prev by Date: Re: NSButton setKeyEquivalent: leaving funny color?
  • Next by Date: Re: debugging a System Preferences pane
  • Previous by thread: Memory Requirements
  • Next by thread: Setting fixed pitch font (temporary) for NSTextView object
  • Index(es):
    • Date
    • Thread