Clear the memory

Hi,
how do I clear the memory according to operations with Images?

All you can do is set objects to null and call System.gc() to request a garbage collection.
This just frees up memory on the heap - maybe you need a bigger heap....
Have a look at a tool like perfAnal (Its on Suns site).
MArk

Similar Messages

  • I have a MacBook, do I need to clear the memory or defragment the disk like I need to do on my work pc with Windows?

    I have a MacBook, do I need to clear the memory or defragment the disk like I need to do on my work pc with Windows?
    If so, what do I need to d

    WOsloop_ORD wrote:
    I have a MacBook, do I need to clear the memory or defragment the disk like I need to do on my work pc with Windows?
    No you don't.
    Mac's auto-defragment by writing 2GB+ sized files and smaller to one space on the drive, so you really don't need to worry about it.
    If your going to parititon your drive or need a large space of free space, then Carbon Copy Cloning the entire OS x parittion to a external drive, option booting off of it and then erasing and reverse cloning is the approved  method of defragmenting and freeing up disk space, rahter than using defragmentaiton software that can cause issues and make the machine inoperatible.
    http://www.bombich.com/
    If you need steps to *cough* clean your Mac of caches and whatnot less your kid/wife/mother/girlfriend/boss, see's it then the steps are as follows.
    1: Clean/clear your browser caches first, delete your history etc. from within the program itself, delete any files on the machine by dragging to Trash and emtpy Trash (secure erase not needed if you follow the steps later)
    2: Download CCleaner for the Mac and run that
    3: Download OnyX for the Mac and run all the cleaning and maintainece, reboot at the end.
    4: For scrubbing hard drives of traces (deleted files), use Apple's Disk Utility > Erase Free Space option: Zero (or 7x if you need military/foresic level type deletion, but it takes overnight to complete)
    Make sure your browser plug-ins are current, Flash, Silverlight especially.
    https://www.mozilla.org/en-US/plugincheck/
    And your Mac needs more codecs, search for Perian, VLC and Flip4Mac, install those.

  • I deleted all my photos and videos and then delete the deleted files but the photo app is still taking up 12 GB of space and I have no room for new stuff.  How can I clear the memory space used by my deleted videos and photos?

    I deleted all my photos and videos and then delete the deleted files but the photo app is still taking up 12 GB of space and I have no room for new stuff.  How can I clear the memory space used by my deleted videos and photos?  I don't know why the photos are still taking up space and if I will have to reset my phone to get rid of the problem.

    Hey there TowneJ,
    Welcome to Apple Support Communities.
    The article linked below provides troubleshooting tips that’ll likely resolve the issue that you’ve described, where deleted files appear to be taking up space on your iPhone 5.
    If you get a "Not enough free space" alert on your iPhone, iPad, or iPod touch - Apple Support
    So long,
    -Jason

  • Hello,  I want to know how to clear the memory or buffer cash from my mac book?

    Hello,  I want to know how to clear the memory or buffer cash from my mac book? When I look at the series, it puts more and more time to load. Thank you.
    Sorry for my english, i talk french.

    Ok ce n'est pas le problème alors.
    Boot à partir de votre disque d'installation et de lancerl'utilitaire de disque. Le disque de démarrage peut être nécessaire de réparation.
    Using Disk Utility to verify or repair disks
    Ok that's not the problem then.
    Boot from your install disc and run Disk Utility. The startup disk may need repairing.

  • Clear the memory in flash

    Hi,
    Please any one tell me how to clear the memory in flash.

    What problem are you having - what memory needs clearing?

  • I just bought a new mac and need to clear the memory of my old one but i don't have a startup disk.  how do i do this?

    I just bought a new mac book pro and need to clear my old mac of it's contents to give it away---  I do not have my startup disk anymore.  How can i completely delete my old mac's memory?

    Erasing your drive:
    Dragging the files to the Trash removes the references to them from the Directory. As has always been the tradition, the data blocks that held the actual data are not over-written, they are merely added to the free list for later re-use. Their original contents are still present.
    Disk Utility "Erase" or "Partition" of a drive (which finishes in under a minute) also does not over-write the data blocks, but merely creates a new, empty directory.
    To clear the data that may still be present (admittedly in a disorganized mess of unlinked blocks) you need to overwrite the data. Use the erase tab, then choose "Security Erase" Options, and overwrite once with Zeroes. This process can take several hours as it is -- if you insist on multiple passes, it can take days to complete, with little additional protection. Multiple passes is unnecessary unless your drive held Military Secrets.
    When you have erased, be sure to install some version of Mac OS X -- a Mac with no obvious Operating software may be dead, and  is much more likely to quickly become landfill.

  • Clearing the memory

    on my ipod i try to put less than two hundred songs onto it from my computer. then it tells me that i doesn't have enough room, so i look at the details of it under itunes and it tells me i have 316.7 mb of music then 1.23 gb of "other" and 249 mb of free space. I want to know what this "other" means and how to get rid of it and put more music on my ipod. please help!!!

    Click here and follow the instructions; doing this will erase everything on the iPod.
    (26201)

  • Inactive memory takes all the memory - please help

    I have a Macbook Pro - August 2009, upgraded version to 2.66 MHZ, advance display card, Dual core.
    I recently upgraded the RAM to 8GB (Kingston) to clear more memory for my massive application use, the thing is it didn't solve anything because the issue I had problems with - Inactive Memory, wasn't resolved.
    Inactive memory supposed to hold the memory for the apps you closed in case you'll run them once again, but it NEVER clears the memory, I can see the "blue" color taking all the free mem and the computer slows down! no free mem what so ever.
    Now the Inactive mem grows enormously and gets to be more than 4GB, it has the same effect, the memory runs out!
    Is there a way to fix it? I'm going crazy with that.. what a terrible design!
    iFreeMem doesn't work on the 8GB, I'm at a loss..
    Please help!
    Thanks,
    Eli.

    Sounds like you have never done a PRAM reset or a SMC reset. Do both and see if this helps:
    _SMC RESET_
    • Shut down the computer.
    • Plug in the MagSafe power adapter to a power source, connecting it to the Mac if its not already connected.
    • On the built-in keyboard, press the (left side) Shift-Control-Option keys and the power button at the same time.
    • Release all the keys and the power button at the same time.
    • Press the power button to turn on the computer.
    _PRAM RESET_
    • Shut down the computer.
    • Locate the following keys on the keyboard: Command, Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    • Turn on the computer.
    • Press and hold the Command-Option-P-R keys. You must press this key combination before the gray screen appears.
    • Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    • Release the keys.
    Roger

  • Clear ABAP memory

    Hi,
    I am using the EXPORT " ..." TO MEMORY ID '....'.
    IMPORT '..' FROM MEMORY ID "..."
    Can i clear the memory after the import.
    Pls let me know.
    Rohita

    Hi Rohita,
    Yes you can clear the memory.
    Check the below code.
    DATA: v_flag TYPE i.
    START-OF-SELECTION.
      v_flag = v_flag + 1.
      EXPORT v_flag TO MEMORY ID 'LV_KUM'.
      IMPORT v_flag FROM MEMORY ID 'LV_KUM'.
      write:/ v_flag.
      <b>clear v_flag.</b>
      EXPORT v_flag TO MEMORY ID 'LV_KUM'.
      IMPORT v_flag FROM MEMORY ID 'LV_KUM'.
      write:/ v_flag.
    END-OF-SELECTION.
    <b>FREE MEMORY ID 'LV_KUM'.</b>

  • Clear printer memory

    I have a Deskjet 4480 which is great but I cannot figure out how to clear the memory. There has to be a simple way. It's so frustrating when the printer goes on printing stuff that I don't want anymore.
    Thanks for any suggestions.

    For the Deskjet 970  (and perhaps the Deskjet 4480?) there is a cancel button on the printer (the X button).  Pressing this will immediately cancel printing, although the job will continue spooling to the printer.  The reason turning the printer off and back on does not clear the issue is that the document is held in the computer's queue and will be resent when the printer is turned back on.  
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • How do I clear off memory usage from "calendar" it kept on building up

    The calendar usage in my ipad kept on building up, although I don't store anything on it, how do I clear the memory usage?

    When you connect your phone to the Mac, iPhoto should fire up and offer to import your photos. So do so, selectively if needed. Then make sure they are backed up to external media in case your Mac dies. Then delete them from the camera roll in the iPhone.
    Read how Sync works. The User Guide is available at http://support.apple.com/manuals/ or downloadable from iTunes as an iBook.

  • Videos missing from iPhoto after prompted to clear from memory card

    I just imported a couple of videos from my GoPro camera into iPhoto. After the videos were imported, I created an album. Once the videos finished importing I was prompted on screen to erase the video's from the memory card and that the import was complete. I did erase them. I then imported more pictures and videos from my regular camera into iPhoto and also following the prompt to erase the memory card post import. The pics/video from the regular camera are there, but my GoPro videos are not. I cleared the memory card so I can't re-import them. It seems they have to be on the computer somewhere since it said "Import complete, Erase Memory Card". Are they still on here somewhere or gone forever?

    Create a smart album with the criteria
    and check there to see if you can find the missing videos.  If not then you'll need a file recovery app like  PhotoRescue to try too recover the files from the memory card.  There are other similar apps that can do the job.  Go to MacUpdate.com and search for photo recovery.  Most have a demo mode to show you if you can recover the file before you have to purchase it.
    Never let iPhoto or other import app delete the files form the memory card.  It's best to make sure the download was successful and that all files are viewable/playable before deleting from the menory card.d  When memory cards are involved it's best to let the camera reformat the card than let the app or the Mac do the deleting/reformatting.

  • I've cleared almost 30 gig off of my hard drive in the past 2 weeks, and it will temporarily show that in the Get Info box.  But hours later, I am still getting a disk full error and all of the memory has disappeared.

    I've cleared almost 30 gig off of my hard drive in the past 2 weeks, and it will temporarily show that in the Get Info box.  But hours later, I am still getting a disk full error and all of the memory has disappeared.  I have cleared my backup logs from Time Machine, checked the mail folder, cleaned out tons of photos and videos and it still keeps filling back up.
    In checking the log files, here is the message repeated over and over....
    Jul  4 07:18:13 Donald-Keele-Jrs-iMac-123.local CalendarAgent[213]: CoreData: error: (21) I/O error for database at /Users/donjr/Library/Calendars/Calendar Cache.  SQLite error code:21, 'unable to open database file'
    Jul  4 07:18:13 Donald-Keele-Jrs-iMac-123.local CalendarAgent[213]: Core Data: annotation: -executeRequest: encountered exception = I/O error for database at /Users/donjr/Library/Calendars/Calendar Cache.  SQLite error code:21, 'unable to open database file' with userInfo = {
                  NSFilePath = "/Users/donjr/Library/Calendars/Calendar Cache";
                  NSSQLiteErrorDomain = 21;
    Jul  4 07:18:14 Donald-Keele-Jrs-iMac-123.local cfprefsd[180]: CFPreferences: error creating file /Users/donjr/Library/Preferences/com.apple.iPhoto.plist.t3l894p: 28
    Jul  4 07:18:30 Donald-Keele-Jrs-iMac-123.local Printer Pro Desktop[275]: Empty task
    Jul  4 07:18:33 Donald-Keele-Jrs-iMac-123.local Microsoft Sync Services[8149]: [0x16697c0] |ISyncSession|Warning| com.microsoft.Entourage2008: transitioning to cancel - session cancelled by server: Client 'com.microsoft.Entourage2008' tried to start a session for the plan 45AD80C3-0D52-4CF2-8CBA-103564B6C47C and the plan no longer exists.
    Jul  4 07:18:33 Donald-Keele-Jrs-iMac-123.local Microsoft Sync Services[8149]: Warning: NSBundle NSBundle </Applications/Microsoft Office 2008/Office/Microsoft Sync Services.app/Contents/Resources/MicrosoftOfficeNotes.syncschema> (not yet loaded) was released too many times. For compatibility, it will not be deallocated, but this may change in the future. Set a breakpoint on __NSBundleOverreleased() to debug
    Jul  4 07:18:33 Donald-Keele-Jrs-iMac-123.local Microsoft Sync Services[8149]: Warning: NSBundle NSBundle </Users/donjr/Library/Sync Services/Schemas/MicrosoftOfficeNotes.syncschema> (not yet loaded) was released too many times. For compatibility, it will not be deallocated, but this may change in the future. Set a breakpoint on __NSBundleOverreleased() to debug
    Jul  4 07:18:45 Donald-Keele-Jrs-iMac-123 kernel[0]: (default pager): [KERNEL]: default_pager_backing_store_monitor - send LO_WAT_ALERT
    Jul  4 07:18:45 Donald-Keele-Jrs-iMac-123 kernel[0]: macx_swapoff SUCCESS
    Jul  4 07:19:31 Donald-Keele-Jrs-iMac-123.local Printer Pro Desktop[275]: Empty task
    Any ideas on what to do next?
    I'm running and iMac 20-inch  early 2009
    Processor  2.66 GHz Intel Core 2 Duo
    Memory  8 GB 1067 MHz DDR3
    Graphics  NVIDIA GeForce 9400 256 MB
    Software  OS X 10.8.4 (12E55)

    Step 1
    Quit Calendar. Triple-click the line below to select it:
    ~/Library/Calendars/Calendar Cache
    Right-click or control-click the highlighted line and select
    Services ▹ Reveal
    from the contextual menu. A Finder window should open with a file named "Calendar Cache" selected.
    Move the selected file to the Trash. There may be one or two other files in the same folder with names that begin in "Calendar Cache". If so, delete those files too.
    Step 2
    Empty the Trash if you haven't already done so. If you use iPhoto, empty its internal Trash as well:
    iPhoto ▹ Empty Trash
    Then reboot. That will temporarily free up some space.
    According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation. You also need enough space left over to allow for growth of your data. There is little or no performance advantage to having more available space than the minimum Apple recommends. Available storage space that you'll never use is wasted space.
    To locate large files, you can use Spotlight. That method may not find large folders that contain a lot of small files.
    You can more effectively use a tool such as OmniDiskSweeper (ODS) to explore your volume and find out what's taking up the space. You can also delete files with it, but don't do that unless you're sure that you know what you're deleting and that all data is safely backed up. That means you have multiple backups, not just one.
    Deleting files inside an iPhoto or Aperture library will corrupt the library. Any changes to a photo library must be made from within the application that created it. The same goes for Mail files.
    Proceed further only if the problem isn't solved by the above steps.
    ODS can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To see everything, you have to run it as root.
    Back up all data now.
    Install ODS in the Applications folder as usual. Quit it if it's running.
    Triple-click the line of text below to select it, then copy the selected text to the Clipboard (command-C):
    sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The application window will open, eventually showing all files in all folders. It may take some minutes for ODS to list all the files.
    I don't recommend that you make a habit of doing this. Don't delete anything while running ODS as root. If something needs to be deleted, make sure you know what it is and how it got there, and then delete it by other, safer, means. When in doubt, leave it alone or ask for guidance.
    When you're done with ODS, quit it and also quit Terminal.

  • How to clear the 'Other' category in my Blackberry Curve memory?

    So, I have found that on my device memory, 50% of the memory is being used. That's fine of course - I have a ton of pictures and loads of music, so it only makes sense - but I recently found that 26% of that 50% is being used up by a white category labeled "Other".
    Seeing this, I cleared /everything/. Everything to do with my browser, the languages I didn't need deleted off of my phone, the documents I didn't need, all but one of my games (brickbreaker) and nearly all uneeded files.
    After doing all this, I checked the memory again, and found that the "other" category had gone /up/ by 1%. So I'm really puxxled by that and it's bugging the hell outta me.
    Anyone know how else I can clear this "other" category?
    P.S
    My memory statistics are as follows:
    Music: 20%
    Pictures: 2%
    Ringtones: <1%
    Other: 27%
    Free: 49%
    Halp please.

    I've tried all these and Firefox still won't load the current image. I know it's there because Internet Explorer does load it. Is there anything else I can try or look at?

  • Unable to clear the phone memory.

    Hi Nokia...
    Could u please help me out of this problem. I bought Lumia 720 3 months ago. I m using an external memory card from the first day i started using it. Inspite that my phone memory is going on filled up day by day. Now only 200 mb space is empty. There is no image, no music files no videos, nothing saved in my phone memory. But then also its only 200mb space is empty. When I first started using it there was approximately 4gb empty space. Could u please help me that how should i clear the phone memory... Thank You
    Solved!
    Go to Solution.

    roshanm wrote:
    Hello,
    I too am a Nokia Lumia 720 user. I went to the 'Storage Check' section, and checked the breakup of the memory usage, which showed 808MB temp files stored. I clicked on 'Clear' and now it shows 727MB of temp files stored. I tried clicking on the clear button multiple number of time, but it just doesn't clear those files. It's stuck on 727MB. Kindly help me with this predicament. Thanks a lot.
    Not all the files in "Other" storage are unnecessary/unneeded/temporary files. There may be system files, mail attachments, app specific files and if the Clear button cannot clear all of them, that means they are used in some way.
    "Other" files are the files which cannot be classified as Music/Video/Photo/Document, but that doesn't mean they are unused files.
    If your "Other"  usage increases dramatically, especially after installing a specific app, then it's time to worry. But in normal usage conditions, 1-1.5 GB is OK for "Other" storage 
    The silence will fall

Maybe you are looking for

  • Ipod Nano error message when trying to synch

    Im having problems with my ipod nano it keeps giving me the error "The ipod cannot be synched.The required folder cannot be found" Also gives me "some of the items in the itunes library were not copied to the ipod because one or more errors occurred"

  • Aligning pages in Adobe Pro ver 7

    I can't find anywhere the ability to rotate pages by specific amounts. Only 90 or 180 degrees. Did I miss something? Will this be a feature in the new version 9?

  • Xorg + nvidia = 640x480

    When I use the nvidia driver I only get 640x480, but when i use the nv driver i get 1024x768. Here is my xorg.conf Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0"

  • SQL Server 2008 Developer install failed - Attempted to perform an unauthorized operation

    I'm trying to install SQL Server 2008 Developer edition on my laptop running Windows XP Professional SP2.  I ran the installer as a domain user with admin rights to the local box.  The installation advisor program certified that my system was ready f

  • XMLImporter completes successfully but I don't see the personalization

    Hi, I have created an OA Extension to add the charge account to the Notification Details page. I am now trying to export from source env. and import into target env. The extension part works fine but when I use XMLImporter to import the personalizati