Find and remove circular references.

The reason I want to find these is that I want to minimise full GCs.
Incremental GCs can remove object with no references, but objects with circular references require a full GC which comes at a high cost for the project I am working on and to be avoided if possible.
So is there is a tool to help find these (so they can be broken on resources disposal or refactored out)
It should be possible to write such a tool with refection, but I was wondering if there was one already. (google didn't help much)

http://www.amazon.com/Garbage-Collection-Algorithms-Automatic-Management/dp/0471941484/ref=sr_1_2?ie=UTF8&s=books&qid=1223338239&sr=1-2

Similar Messages

  • On my MacBook with Lion Safari does start, does not react immediately after trying to open it. Installing a new Safari does not help. Removing parts of Safari in the Library did not help. Where can I find and remove all components (LastSession ...)?

    How can I reset Safari with all components? On my MacBook with Lion, Safari does not start, does not react immediately after trying to open it. Installing a new Safari does not help. Removing parts of Safari in the Library does not help. Where can I find and remove all components as LastSession and TopSites?

    The only way to reinstall Safari on a Mac running v10.7 Lion is to restore OS X using OS X Recovery
    Instead of restoring OS X in order to reinstall Safari, try troubleshooting extensions.
    From the Safari menu bar click Safari > Preferences then select the Extensions tab. Turn that OFF, quit and relaunch Safari to test.
    If that helped, turn one extension on then quit and relaunch Safari to test until you find the incompatible extension then click uninstall.
    If it's not an extensions issue, try troubleshooting third party plug-ins.
    Back to Safari > Preferences. This time select the Security tab. Deselect:  Allow plug-ins. Quit and relaunch Safari to test.
    If that made a difference, instructions for troubleshooting plugins here.
    If it's not an extension or plug-in issue, delete the cache.
    Open a Finder window. From the Finder menu bar click Go > Go to Folder
    Type or copy paste the following
    ~/Library/Caches/com.apple.Safari/Cache.db
    Click Go then move the Cache.db file to the Trash.
    Quit and relaunch Safari to test.

  • How do I find and remove duplicates on the 11.2 itunes?

    How do I find and remove duplicates on the 11.2 itunes?

    duplicate annihaitor
    But often duplicates are a symptom and you really need to address the cause - more information is needed to help out with that
    LN

  • How to find and remove any special character in filename?

    I have a files in various Windows Servers 2003 with a special character at his names, who are causing problem with backup software, i don´t know what character is because in explorer they are not shown and in command line they are shown only as interrogation
    mark and for this, i don´t know how i will find and remove then.
    Thanks.

    Hi,
    I agree with Dave. We can try using
    chkdsk utility to check the file system and file system metadata of a volume for logical and physical errors.
    Regarding
    chkdsk, the following article can be referred to for more information.
    Chkdsk
    http://technet.microsoft.com/en-us/library/cc730714.aspx
    Best regards,
    Frank Shen

  • HT2905 No Display Duplicates under File. How to find and remove duplicate items in your iTunes library

    I now have iTunes ver 11.0.4.4 under Windows 7. I lost all iTunes stuff when updating to Windows 7. I have loaded thousands amd thousands of music files from backup disks, but there are many duplicates. I am attemping to re-establish my old library. I used to be able to remove duplicates quickly with the old iTunes. The new iTunes doesn't seem to offer the same service. Is there any way to remove duplicates quickly, or must I do it one by one?

    When deduping use Shift > View > Show Exact Duplicate Items as this is normally a more useful selection. You need to manually select all but one of each group to remove. Sorting the list by Date Added may make it easier to select the appropriate tracks. If you have multiple entries in iTunes connected to the same file on the hard drive then don't send to the recycle bin. Use my DeDuper script if you're not sure, don't want to do it by hand, or want to preserve ratings, play counts and playlist membership. See this thread for background and please take note of the warning to backup your library before deduping.
    (If you don't see the menu bar press ALT to show it temporarily or CTRL+B to keep it displayed)
    See also HT2905: How to find and remove duplicate items in your iTunes library
    tt2

  • How can I find and remove viruses from my mac

    I fear that I might have a virus on my beloved macbook pro. i message was spassing out and not sending my messages, my folders continue to dissapear from my desktop causing me to restart finder (not a big deal just annoying) and some other out-of-place things are happening. I don't like credit cards so i can't buy any intvirus software so I was curious to know if there is a way to search for, find, and remove this potential virus on my own.

    Apple provides and updates malware protection as part of the operating system functionality. There is no application you need to run. In using Macs in the corporate world and privately over the last 20+ years, the only malware that got into a Mac came from a shared MS Word document. That was in 1994.
    Everytime that I chose to run a commercial or opensource anti-virus tool, a full sweep showed no infections.
    There may be other systemic issues with your Mac that are the root cause for what you describe. As a baseline, I would do the following:
    Run /Applications/Utilities/Disk Utility. On your boot disk, choose First Aid, and verify/repair permissions.
    Reboot your Mac. Immediately press and hold the shift key until a login screen appears. Enter your login name, your password, and before continuing, press and hold the shift key again, until your desktop reappears.
    Reboot normally.
    What effect do the above have on the problems you mentioned?

  • How can I find and remove duplicate photos in iPhoto?

    What is the best way to find and remove duplicate photos in iPhoto?

    Are you seeing these duplicates in iPhoto or via the Finder?  If it's in the iPhoto window then you can use one of these applications to identify and remove duplicate photos from an iPhoto Library:
    iPhoto Library Manager - $29.95
    Duplicate Cleaner for iPhoto - free
    Duplicate Annihilator - $7.95 - only app able to detect duplicate thumbnail files or faces files when one library has been imported into another with iPhoto 8 and earlier.
    PhotoSweeper - $9.95 - This app can search by comparing the image's bitmaps or histograms thus finding duplicates with different file names and dates.
    I also prefer iPLM as it is more than just a dup finder.  It's a the most versatile iPhoto utility available.
    OT

  • How can I find and remove duplicate photos from my computer?

    How can I find and remove duplicate photos from my computer?

    Terence,
    Yes, the duplicates appear in the iPhoto window. I have folders with same name occuring two or even three times sometimes with exactly the same set of photos (ie photos with the same ID) and sometimes with a limited set of photos. Other  folders appear only once.
    I normally take my MacBook with me if I'm shooting a lot of photos, such as on holiday, and then want to transfer them to my iMac when i get home. Other times I transfer the camera's memory stick directly to my iMac.
    I have great difficulty transferring the photos from my MacBook to my iMac. I don't want to store my photos on my iDisk due to the length of time it takes to upload them.
    Thanks again.
    Simon

  • HT2905 how do i find and remove duplicate songs in itunes 11.1.3?

    i transferred my itunes to a new computer today, and somehow half of my library was duplicated. no i cant seem to find a way to get rid of the duplicates without selecting them one at a time. any ideas?

    Apple's official advice on duplicates is here... HT2905: How to find and remove duplicate items in your iTunes library. It is a manual process and the article fails to explain some of the potential pitfalls.
    Use Shift > View > Show Exact Duplicate Items to display duplicates as this is normally a more useful selection. You need to manually select all but one of each group to remove. Sorting the list by Date Added may make it easier to select the appropriate tracks, however this works best when performed immediately after the dupes have been created.  If you have multiple entries in iTunes connected to the same file on the hard drive then don't send to the recycle bin.
    Use my DeDuper script if you're not sure, don't want to do it by hand, or want to preserve ratings, play counts and playlist membership. See this thread for background and please take note of the warning to backup your library before deduping.
    (If you don't see the menu bar press ALT to show it temporarily or CTRL+B to keep it displayed)
    Alternativey see this migrate iTunes library post, you may want to revisit the transfer method.
    tt2

  • Hi , how do i find and remove duplicate videos and photos on my ipad2 , please help

    Hello , i have an apple ipad 2 , and iphone 4s and 5s . I have transferred all videos and photos on both these phones to the ipad to make space on my iphones. I have no doubt that there is now multiple duplicates on my ipad . How can i find and remove these. Please help should you know !

    i imported all the files in my sd card to my mac and then i did format the card, it says 160kb is used up.
    I also did find files in the trash when i connected the camera to the macbook and deleted them all, there is nothing left in the camera or the trash and it still says 160kb used :/

  • HT2905 Does anyone know how to find and remove duplicate items in the new itunes 11?

    I am having a hard time trying to figure out how to find and remove duplicate items under the New iTunes 11? Its not as user friendly as in previous versions. Does anyone know how to figure this out?

    As Jim said View > Show Duplicates
    or
    Option + View > Show Exact Duplicates

  • Find and remove duplicates advice?

    hi all,
    would it be possible to get a little advice and some feedback on others' experience with finding and removing duplicates from the aperture database?
    i am doing this now for scans, pdf's, images and other data on my mac book pro and on my mac pro and it would be helpful for me to know what is possible for me to get done with the aperture database.
    TIA

    I haven't used it  myself but  Duplicate Annihilator it is mentioned here often as a solution for this.

  • How can one find and remove hidden tracking software on an iphone

    How can one find and remove hidden tracking software on an iphone

    When folks did not know that it was there, they assume that it is hidden. Even the EU and the US congress got all up in arms about it.

  • Loaded OfficeforMac2011 on OS10.5.8; software won't launch because of font problem. How do I find and remove offending fonts?

    Loaded OfficeforMac2011 on OS10.5.8; software won't launch because of font problem. How do I find and remove offending fonts?

  • Is there anyway i can find and remove the flashback virus because i find the manual instructions too complicated HELP!!!!

    HELP is there anyway i can find and remove the flashback virus because i find the manual instructions too complicated HELP!!!! common the manual instructions are far too complicated for the average user. I just downloaded the SOPHOS anti-virus will that find and remove it

    How deal with FLASHBACK trojan?

Maybe you are looking for

  • How to accept user values into a pl/sql procedure or function on every execution

    As we accept user values on every execution in a C or a java program, is it possible to do so with a pl/sql procedure or a funtion without using parameters? I cannot use parameters because it is required to be interactive while accepting the user-val

  • IDoc Scenario - how to jump in context

    Hello, I need help for my iDoc -> XML scenario. follow situation IDOC ---SEC1 VAL1=11 VAL2=aa ---SEC1 VAL1=22 VAL2=bb ---SEC1 VAL1=33 VAL2=cc ---SEC2 SEC2.1 VAL1=11 VAL2=ab SEC2.1 VAL1=22 VAL2=bc SEC2.1 VAL1=33 VAL2=cd SEC2.2 VAL1=22 VAL2=xyz I have

  • How to download a clean Windows 8 pro iso?

    I want to remove all the lenovo bloatware, and install a clean window 8 copy. The first step is to find a clean windows 8 iso. However, the windows setup or window upgrade assistant wouldn't allow me to download any windows copy. How can I download a

  • Record counts of the tables in USER_TABLES

    Hello everyone. Please give me advice, is it possible to enumerate the tables in the USER_TABLES and in the same time to retrieve the record count in every each of them? To illustrate, I want something like that: select t.table_name,(select count(*)

  • Please share Auto View Installation Documents

    Hi all, I found only one verion in site for 30 trial. Is it 32 bit or 64 bit?. Please share any configuration documents after installation., Thanks nag