Mailing Lists: Apple Mailing Lists

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

memory leaks / finding object references



hallo,

assuming i have a class 'Document' in a multiple document application. now when the document is closed and disposed, i want to find out if there are any left over references to that instance of Document, since i seem to have a memory leak here and the document or parts of it don't find there way into garbage collection (at least that's my theory, as after opening + closing documents for a while, at some point i get OutOfMemoryErrors). references can be complex (let's say for example ElementA of List1 of ElementB of List2 is still in the clipboard and List2 has a reference to the disposed document; or i made copies from elements that accidentially have references to the original object; or some element of the doc was stored in a static collection somewhere etc.), so are there any automatic ways for determining this (getting a list of references to object 'myDoc')?

thanks for hints, -sciss-

_______________________________________________
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


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.