Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: memory leaks / finding object references



A free memory/heap profiler with decent functionality is available at
http://jb2works.com/refscan/usage.html.  It allows you to take heap
snapshots and automatically create diffs to analyze.
I've used it only once, but found it to be helpful.

Jason

On 8/30/06, Michael Hall <email@hidden> wrote:

On Aug 30, 2006, at 7:54 AM, Sciss wrote: >

> so are there any automatic ways for determining this (getting a
> list of references to object 'myDoc')?
>

Sorry, I didn't look at this closely enough. What I showed would
confirm the Document class as involved in a memory leak and tell you
where the instances are coming from but would not identify
references. You used to be able to do that of sorts with the
classical MacsBug dcmd. I haven't looked into anything recently to
track down references so can't say if hprof or anything else provides
anything or not that would help.

Again apologies for not reading closely enough before posting.


Mike Hall mikehall at spacestar dot net http://www.spacestar.net/users/mikehall http://sourceforge.net/projects/macnative


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >memory leaks / finding object references (From: Sciss <email@hidden>)
 >Re: memory leaks / finding object references (From: Michael Hall <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.