Macbook doesn't restore memory to flash memory after files are removed

For every flash memory device i use (flash drive, mp3 player, etc.), when i remove files from them to the trash, the memory is still being used on the device. For example, when i tried to take a song off my mp3 player, it allowed it but the remaining memory was the same as before. i experimented by moving every song out of the device so it was empty but the memory was still being used. Does anyone know how to fix this because i am at the point that i can no longer used devices because it claims to be full.

This happens to me too. I use the program Show Hidden Files
http://www.apple.com/downloads/macosx/systemdiskutilities/showhiddenfiles.html
The songs or whatever you are deleting is going into the .trashes folder on the drive or mp3 player. Just delete the .trashes folder. It will make a new one every time you delete something though. I hope this helps.

Similar Messages

  • How can i restore memory after deleting all photos on my iPad 8.1.2

    iPad 4
    8.1.2
    Photos; not iPhoto app
    Under GENERAL I cannot restore my capacity memory after deleting all my photos from the iPad.
    I do not store photos in the Cloud. I do not use Photo Stream
    I have reset my iPad as well as checked in Image Capture for possible photos still there.
    I have also deleted last 30 days of photos.

    In iOS 8.1.2 photos that are deleted from the Camera Roll are moved to the Recently Deleted album. They remain there for 30 days unless you delete them again from that album. The Recently Deleted album was created because so many people complained that they deleted photos and wanted them back. The Recently Deleted album gives people 30 days to change their mind about deleting photos. For the rest of us, it's kind of a pan to have to delete the photos twice to free up the storage space.
    Oh, and there is no longer an iPhoto that works on iOS devices running iOS 8.1.2.

  • Memory mapped files Are they still used.

    To System  programmers.
    In some of my old code David used memory mapped files in handling huge sets of random points.  The code reads in the whole file and then sets flags similar to an async process.  The filemapping handles memory instead of using mallocs.  the
    data maybe stored on the heap or in hte global stack.  I went back to Viusal Studio 6 and tried to take out the code as the standard c++ handles a full file read as a char buffer as a void * structure.  I found some valloc data types and
    then found the newer filemapping routines in VS2013. Plus an explanation of global stack and heap.
    Are software developers using file mapping or are they using say vectors to form stl structures.
    Cheers
    John Keays
    John Keays

    Here is some typical code in the old C.  This is close to the code I used in Visual studio 6.  I need to put this in vs2013 under c++ or C++ 11/14.  I have guessed the file handle open and size code.
    main{
    int fsize, numRecords;
    Point *allPoints;
     fsize = readAllFile(name, &allPoints);
    numRecords = fsize/ sizeof(Point);
    for (i=0; i < numRecords:; I++)  printf("rec %d values x %.3f\n", i, allPoints[i].x);
    int
    readAllFile(char*name, void **addr){
    file *fh;
    int fsize;
    openf(fh, name);
    fsize = getfilesize(fh);
    *addr = malloc(sizeof(char)*fsize);
    fclose(fh);
    return fsize;
    This is the boilerplate for the file reads.  Even tried this with text files and parsing the text records.  Instead of the mallocs you suggest vector and the scheme of the code remains the same.
    For a lidar file the xyz records have grown from 10,000 in the 1990's to 1,000,000 points in the mid 2000's.  For this size file 24 M bytes are allocated in one hit.  The whole of the Gold Coast in terms of lidar points in 2003 was 110 million
    points.  It could be more.
    Where is the data stored in the Malloc, Vector or memory Mapped file.  What is good and bad practice.
    Cheers
    john Keays
    John Keays

  • Reset the iPod and music doesn't show up... but the files are still there..

    I had to reset my nano (just a soft reboot). Supposedly when you do this, you do not lose your files. Wrong! Well... not completely. The files are still there if I look under the iPod in "My Computer" but, tho iTunes recognizes the iPod, there is no music contained in it through iTunes or just using the iPod itself.
    Please help!! I don't know if I changed some sort of setting or if I'm screwed here. I still have the files but I was kinda hoping not to lose my playcounts/ratings/etc.

    Is this how you reset?
    Resetting iPod
    If so, you should not have lost music. Also, why did you reset the iPod?
    Anyhow, is there still music on your computer in iTunes?
    If the music is in your iTunes library, restore your iPod...
    Restore the iPod
    Then reload everything.
    If the music is not on your computer, use this to get the music off of the iPod and back onto the computer. Then restore the iPod and reload everything (once you are sure that your music is on your computer)...
    MacMuse: Computer Crashed
    btabz

  • Replication agent doesn´t free memory after expensive operation

    Our environment is made up of master node and 17 subscriber.
    We have issued a delete action implying 1000000 rows. During the deletion, normal CPU, memory and swap usage was observed. Later, CPU usage has recovered while memory and swap has not. The most memory consumming process was timestenrep with 9Gb.
    Deletion has been correctly replicated to all nodes. However, the replication agent needed to be restarted manually in order to recover memory/swap.
    Why the replication agent did not recover on its own and free memory?
    Definition in sys.odbc.ini
    Datastore=/data/db/xxxx
    PermSize=4000
    tempSize=250
    DurableCommits=0
    TypeMode=1
    LogFileSize=64
    LogBuffSize=65536
    MemoryLock=3
    LockWait=10
    PrivateCommands=1
    Authenticate=0
    DatabaseCharacterSet=WE8ISO8859P15
    ConnectionCharacterSet=WE8ISO8859P15
    CkptFrequency=300
    CkptLogVolume=128
    Connections=90
    TimesTen Version installed (ttVersion command)
    TimesTen Release 7.0.5.0.0 (64 bit Solaris) (ivpnges2tt70:17000) 2008-04-04T01:19:41Z
    Instance admin: root
    Instance home directory: /opt/TimesTen/ivpnges2tt70
    Daemon home directory: /var/TimesTen/ivpnges2tt70
    Regards,
    Matú

    In a replicated environment, executing very large transactions (such as deleting 1M rows in a single transaction) is a very hazardous thing to do and is something you should avoid at all costs. It can cause a number of serious problems. Transactions should be limited to no more than a few thousand operations. If you need to empty a table, use TRUNCATE instead. This will execute far more quickly, generate less log and will not cause problems for replication. If you cannot use TRUNCATE then you should break the DELETE up into multiple smaller transactions. For example if you wish to delete all row where 'startdate' is less than some value and this is likely to result in a large number of deletions then you could repeatedly execute the following sequence:
    DELETE FIRST 1000 FROM sometable WHERE startdate < :someval;
    COMMIT;
    and just keep doing this until the 'rows affected' value is zero.
    The same applies to large inserts and updates.
    The memory usage behaviour of the replication daemon, while perhaps not ideal, is correct and as expected. When you delete 1M rows in a single transaction the replication daemon has to allocate memory (via malloc) for 17x copies (in your case) of the transaction data. That is probably a lot of memory. Once the transaction has been replicated to all 17 subscribers. This memory is moved to an internal 'free' list for re-use but is not returned to the O/S until the replication agent is terminated. Since it such a bad idea to execute these large transactions this behaviour is generally not a problem.
    Chris

  • How to restore from back up when some files are corrupt and crash the restore?

    iphone 4 16gb
    IOS 5.0.1
    iTunes 10.5.3
    History:
    installed iOS5 back on release date. install was interrupted, likely due to high volumes. Completed install. Initial problem noted: unable to add events to calendar. Then problem progressed to "Voice Memo" app crashing. I installed "Quick Voice" app as an alternative. Problem progressed further to an unexplained increase in "other" content on iphone. Last week I tried syncing my phone and received error message that I didn't have enough space to complete sync. Noted then that "other" content was around 5.4gb! Removed "voice memos" playlist from selected playlists to sync under music tab and noted that other content dropped to 4.5gb
    Synced the phone and noticed that it appeared to move through the sync process faster than usual. Sync showed "audio" content and "other" content to be the same size at about 4.5gbs.
    After sync was completed I disconnected the phone and looked at the content of my phone. No apps, No music, No photo albums! SMS texts, Notes and Contacts still all intact on phone.
    Tried multiple solutions including restore to fix the problem. Each time, when the phone is plugged in and mounted in iTunes, it shows audio content at 4.5gb and other content at 4.5gbs yet the phone itself has no music, no apps and no photo albums. It does still have pictures in "camera roll", though.
    After trying many suggested solutions, I gave up and went to Apple store to see the Geniuses (Genii ) They did a firmware update and reset my phone. I was advised to restore from back up. However, when I tried to restore from my back up, it would fail to complete. Unable to restore from back up and sync attempts fail.
    The only data I really don't want to lose is my text message history, my notes and my voice files from "Quick Voice" app.
    Restoring from back up is not an option since I believe there are corrupt files in the back up. So what I want to know is can I restore my phone as a new phone, and then re-install my text message history, notes and the sound files from the "Quick Voice" app? Perhaps using a 3rd party app to retrieve those particular files from my back up and copy them to the phone directly? Or can I create a new back up file and copy those files to the new back up file. Hopefully I would then be able to restore from the newly created back up successfully since the likely corrupt files will be in the old back up file?
    All other information; apps, photos, music and contacts can be re-installed from iTunes.

    Sigh....
    And it just keeps getting stranger! I just disconnected the internet and opened iTunes on my Mac. It opens just fine when disconnected from the internet. iTunes crash seems to be caused when it's trying to connect to iTunes store????
    Really need help!
    1) Why is iTunes crashing when connected to internet?
    2) If I am unable to restore from my back up due to corrupted files within the back up, how can I preserve my text messages, notes and "Quick Voice" app files?

  • Year 2010-2011 MacBook Pro version 10.7.4 issues: freezes up, files are loading slowly and buttons are not responding

    Hello my fellow Apple product user's. My problem has been going on for about a month and half with my laptop locking up, file folders on my desktop loading slowly and my sleep button and other buttons on my dash board not responding. Where to being with my issues that are listed up in my title and my first scene. The first issue has been my file folders are not loading fast like that did before, the issue is that they load in about 10-15 if not a little longer after I log into my laptop desktop. The second issue is that my sleep button does not respond to sleep right away, I have to press it three or four different times after I have logged out of my desktop to make it go to sleep.  The final problem is dealing with my buttons and laptop locking up, when I started an application called runescape after it load to the log in screen and after I came back to log into the game it decide to lock up/ froze on me and durning that time my buttons on my dashboard was not responding, so I decide to command q to quit the application and after that buttons were not reponding to it and I decide to do common and control c to see if it would work and it did and after that everything has been working fine except for the files are loading slowly. Also I had another issue with the laptop sleeping so quick as soon I am using the Internet. There was one other problem that had happen to me just like my description in my first scene, but I do not remember that issue.
    Please no spamming, flaming and being plain rude to me and others. If you can not listen, read, or under stand my warning you will be kicked off from posting on threads buy a froum monitor. Pleas and thank you for posting and helping me out with fixing my problems.

    Hello my fellow Apple product user's. My problem has been going on for about a month and half with my laptop locking up, file folders on my desktop loading slowly and my sleep button and other buttons on my dash board not responding. Where to being with my issues that are listed up in my title and my first scene. The first issue has been my file folders are not loading fast like that did before, the issue is that they load in about 10-15 if not a little longer after I log into my laptop desktop. The second issue is that my sleep button does not respond to sleep right away, I have to press it three or four different times after I have logged out of my desktop to make it go to sleep.  The final problem is dealing with my buttons and laptop locking up, when I started an application called runescape after it load to the log in screen and after I came back to log into the game it decide to lock up/ froze on me and durning that time my buttons on my dashboard was not responding, so I decide to command q to quit the application and after that buttons were not reponding to it and I decide to do common and control c to see if it would work and it did and after that everything has been working fine except for the files are loading slowly. Also I had another issue with the laptop sleeping so quick as soon I am using the Internet. There was one other problem that had happen to me just like my description in my first scene, but I do not remember that issue.
    Please no spamming, flaming and being plain rude to me and others. If you can not listen, read, or under stand my warning you will be kicked off from posting on threads buy a froum monitor. Pleas and thank you for posting and helping me out with fixing my problems.

  • Nio ByteBuffer and memory-mapped file size limitation

    I have a question/issue regarding ByteBuffer and memory-mapped file size limitations. I recently started using NIO FileChannels and ByteBuffers to store and process buffers of binary data. Until now, the maximum individual ByteBuffer/memory-mapped file size I have needed to process was around 80MB.
    However, I need to now begin processing larger buffers of binary data from a new source. Initial testing with buffer sizes above 100MB result in IOExceptions (java.lang.OutOfMemoryError: Map failed).
    I am using 32bit Windows XP; 2GB of memory (typically 1.3 to 1.5GB free); Java version 1.6.0_03; with -Xmx set to 1280m. Decreasing the Java heap max size down 768m does result in the ability to memory map larger buffers to files, but never bigger than roughly 500MB. However, the application that uses this code contains other components that require the -xMx option to be set to 1280.
    The following simple code segment executed by itself will produce the IOException for me when executed using -Xmx1280m. If I use -Xmx768m, I can increase the buffer size up to around 300MB, but never to a size that I would think I could map.
    try
    String mapFile = "C:/temp/" + UUID.randomUUID().toString() + ".tmp";
    FileChannel rwChan = new RandomAccessFile( mapFile, "rw").getChannel();
    ByteBuffer byteBuffer = rwChan.map( FileChannel.MapMode.READ_WRITE,
    0, 100000000 );
    rwChan.close();
    catch( Exception e )
    e.printStackTrace();
    I am hoping that someone can shed some light on the factors that affect the amount of data that may be memory mapped to/in a file at one time. I have investigated this for some time now and based on my understanding of how memory mapped files are supposed to work, I would think that I could map ByteBuffers to files larger than 500MB. I believe that address space plays a role, but I admittedly am no OS address space expert.
    Thanks in advance for any input.
    Regards- KJ

    See the workaround in http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4724038

  • Server has not enough memory for operation (Some .rpt files not removing from Temp folder )

    We have web application developed in ASP.NET 4.0 ftramework and published on IIS. And we are using 13_0_8 version of CR.
    I am creating report files and exporting these as pdf. And I am disposing streams and report documents at the end. Initially, there wasn't any problem and temporary files which are created by CrystalReport were deleting all. But, now requests to the web application increeased to about 50.000 in a day and now some .rpt files are staying in Temp folder and I can't delete them. After recycling application pool all files are removed by IIS. Then, after 1 or 2 hours new .rpt files are creating in Temp folder. And after somewhile, application throws Server has not enough memory for operation. And, IMHO the reason is temp files. Here is the code I am using to export report as pdf.
    Questions:
    1. Is the reason of this exception is temp files in Temp folder?
    2. What is wrong in that code?
    ReportDocument report = DownloadPDF.GetReport(id);
       MemoryStream stream = (MemoryStream)report.ExportToStream(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat);
       Response.ContentType = "application/pdf";
       Response.AddHeader("content-disposition", "attachment; filename=" + id+ ".pdf");
      report.Close();
      report.Dispose();
       try
       Response.BinaryWrite(stream.ToArray());
       Response.End();
       catch (Exception)
       finally
      stream.Flush();
      stream.Close();
      stream.Dispose();
    Here is the StackTrace

    Hi Farhad
    At 50,000 requests, you are more than likely running into the CR engine limit. E.g.; you're pushing way too hard... The following will be good reads for you:
    Crystal Reports 2008 Component Engine Scalability | SCN
    (The above doc does apply to current versions of CR - e.g.; no changes.)
    Crystal Reports Maximum Report Processing Jobs ... | SCN
    Scaling Crystal Reports for Visual Studio .NET
    Choosing the Right Business Objects SDK for Your Needs
    Choose the Right SDK for the Right Task
    How Can I Optimize Scalability?
    All of the above apply to your version of CR and thus the next question will be; how to proceed:
    1) Bigger, faster servers will not hurt.
    2) Web farms.
    How Do I Use Crystal Reports in a Web Farm or Web Garden?
    3) Crystal Reports Application Server, or perhaps even SAP BusinessObjects BI Platform 4.1
    Crystal Enterprise Report Application Server - Overview
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Flash profiling of memory after clearing cache of home-made rsl files

    I have a question about the flash memory profiling tools.
    Once I have completely loaded a swf file into my browser, complete with multiple home-made gigantic RSLs (not flex swzs), the memory footprint of my application is small; I have not instantiated any of the objects in the RSL files.  However, as stated earlier, the RSLs are very big files; full of embedded assets.
    If I clear my browser cache, those gigantic RSL files are deleted.
    Then, when I use my flash app to create objects from the RSL, flash profiler shows my memory footprint increase.  That makes sense; I just made some large objects.
    But from where did flash load those objects? 
    I deleted the RSL files.
    The flash profiler showed I was using hardly any memory, suggesting that the class files were not loaded into memory already.
    Are the files kept in a secondary file cache?  Is there a second memory cache?  Can I profile its size?

    1. No. and the main footprint of a bitmap is probably is per-instance so the instance cost is probably what you're interested in.  Anything embedded is also a class and the first time you access the class the Class category should go up by a bit.
    2.  When your app requires an RSL, the SWF for the RSL is loaded into memory (in a buffer you can't see from the profiler), expanded and parsed (into even more memory that you can't see from the profiler).  Then as you access classes from the RSL, the profiler should show growth in the Class, Object and Function.  If you statically link just the code you need, the amount of memory to load the SWF and parse it will be smaller since it doesn't need space for classes you won't need, but after that it is the same.  The advantage of the RSL is that most folks end up using 200K or more from the RSLs so that's a download cost you pay the first time you run the app.  The Flex RSLs are pretty well deployed so your chances of having savings is pretty good.  Private RSLs for your app will do no good unless there is another app on the same domain that uses the RSLs.  See the modules presentation on my blog for more info
    3.  The profiler does not show System.totalMemory.  Even that number isn't the whole measure.  We're currently fans of PrivateBytes to measure total weight of the app.  But it depends on what problem you're trying to solve.
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • When I delete files on a USB, it doesn't free up memory on the stik. I find I have to empty the entire stik, use Disk Utility to 'erase' it, then transfer back the files I removed to free up all the space on the stik. Is this the best practice?

    It frustrates me that if I delete a file from a USB, it doesn't free up the memory on the stik. I have been removing all the files from the stik, opening Disk Utility and erasing the empty USB. That frees up the entire stik. Then I have been transferring back the files I removed from the stik. The result is that I have memory available to use again. It seems to me this is an unnecessarily complicated and time consuming way to get the result. Is there a shorter way to do this?

    Hello Horst,
    Thank you for the question.  Have you been emptying your trash after deleting the items?  For the item to be removed from your USB device, you will need to empty the trash on your MacBook Pro after you delete the items, as described in the featured discussion below.  Your USB device will still need to be connected when you do this:
    Choose Empty Trash from the Finder menu. Unlike Windows, the trash needs to be emptied manually for any drive other than one mounted through the network.
    Can't delete off my USB drive
    https://discussions.apple.com/thread/1946841
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Ipod classic doesn't free memory even if I delete music so I cannot download any new content

    ipod classic doesn't free memory even if I delete music so I cannot download any new content

    When you connect the iPod to iTunes, in the summary page, what do you see in the Capacity bar?
    How much is used for Audio, Others, video?
    Most likely you have high usage of others, which maybe caused by incomplete sync Operation and the iPod need to be Restored.

  • How do I enter music from MacBook to 2 GB memory card in my LG Dare

    How do I enter music from MacBook to 2 GB memory card in my LG Dare? I formatted the SanDisk memory card to the phone and connected phone to MacBook. How do I get music from iTunes on my MacBook to disk on my Dare?

    Look in the Finder's sidebar or on the desktop. If the manufacturer only allows its own software to connect to the card, consult its documentation.
    (55914)

  • I have a mid 2010 macbook pro with 4GB memory and need to purchase an additional 4 GB.  Do I need to purchase 8GB of memory to upgrade or can a 4GB upgrade be placed next to the existing memory?

    I have a mid 2010 macbook pro with 4GB memory and need to purchase an additional 4 GB to.  Do I need to purchase 8GB of memory to upgrade or can a 4GB upgrade be placed next to the existing memory?

    You need to purchase 8 GBs as two 4 GB modules. Must meet these requirments:
    Maximum Memory
    8.0 GB
    Memory Slots
    2 - 204-pin PC3-8500 (1066 MHz) DDR3 SO-DIMM

  • Upgraded to lion on my 2009 summer macbook pro, now no memory left. something is screwy ...please help an old lady out..

    upgraded to lion on my 2009 summer macbook pro, now no memory left. something is screwy ...please help an old lady out..

    By memory, do you mean space on your hard disk?
    If so, here is one resource:
    Freeing space on your Mac OS X startup disk
    Or do you really mean memory - i.e,, RAM?
    In any case, what occurs that makes you think your "memory" is gone?
    charlie

Maybe you are looking for