My free memory dropped during backup?

Today I decided to add some music to my iPod Touch 5G, running on iOS 7.1.2. It automatically started to back up, so I let it, because you can never go wrong with having a back up, am I right? Halfway through the process, my free memory went from 15 gigs to 13. However, absolutely no content was deleted or added. I still have the same apps, the same music, the same photos, with no clones or anything. Can someone explain what took over two whole gigabytes of my iPod Touch while doing a back up?

Connect the iPod to your computer and look at the storage used by the various categories as shown in the colored bargarph in iTunes.
Come back with the results.
An "other" larger than about 1 1/2 GB indicates corrupted files.
What is the Other on my iPhone and How to Remove It
What is "Other" and What Can I Do About It?
Next, usually restoring from backup eliminated the corrupted files. However, sometimes restoring to factory settings/new iPod is required.
To restore from backup see:
iOS: How to back up
To restore to factory settings/new iPod see:
iTunes: Restoring iOS software

Similar Messages

  • My free memory dropping constantly

    Hi all...
    I just experienced something totally weird on my Snow Leopard. It starts suddenly dropping in the free memory (green) in my activity monitor with around 10 MB per second and the inactive (purple) memory grows. And it doesn't stop until it hits 10 free MB.
    I have no applications running so this is really weird. If I run my music applications they tell me I'm running out of memory...
    Here's a screenshot of my Activity Monitor:
    As you can see there is no application using the memory....
    What does this mean!? Is it a bug??

    I can't see the screenshot, but there IS an application or service (more likely, several of them) using that RAM. In OS X, the RAM used by a live (as in running) application is called "active". The "inactive" RAM is the memory used by applications or services you or the system have closed; it usually is cached to the hard drive after a certain amount of time. It's not exactly "free" RAM, in the sense that it's preempted by the application or service that first reserved it, but it can be made available if need be.
    The "wired", or "resident" memory, is reserved to system services and processes (usually those run by the "root" user),  so the real question is, which process(es) or service(s) are using an accruing amount of RAM? All processes using a stable, constant amount of RAM should be disregarded.
    A Web browser or email client could be the culprit, but again, I can't see your screenshot, so I can only speculate.

  • HT201210 I have error code -43 when trying to upgrade iPhone 3GS running v4.3 to version 5 or above. This error occurs whilst trying to back up phone during upgrade process. 2GB of free memory on phone. Can anyone help?

    I have error code -43 when trying to upgrade iPhone 3GS running v4.3 to version 5 or above. This error occurs whilst trying to back up phone during upgrade process. 2GB of free memory on phone. Can anyone help?

    Well I spoke too soon.
    The update was successful, but now I cannot connect to the 3GS data network.
    Cannot get email and cannot open a page in Safari.
    +"Safari could not open the page because the server stopped responding."+
    +"Cannot Get Mail+
    +THe mail server is not responding. Verify that you have entered the correct account info in Mail settings."+
    Email and internet work fine on WiFi.........no data using 3GS network.
    Looks like I will have to revert back to old OS.

  • My macbook pro model mid 2009 is running slow. free memory is 35 mbs and inactive memory is  1.36 gb with a total of 5 gb RAM memory

    Problem description:
    too much inactive memory 1.87 gb and free memory only 35 mb
    EtreCheck version: 2.1.1 (104)
    Report generated 10 December 2014 3:30:26 pm IST
    Hardware Information: ℹ️
      MacBook Pro (13-inch, Mid 2009) (Verified)
      MacBook Pro - model: MacBookPro5,5
      1 2.26 GHz Intel Core 2 Duo CPU: 2-core
      5 GB RAM Upgradeable
      BANK 0/DIMM0
      1 GB DDR3 1067 MHz ok
      BANK 1/DIMM0
      4 GB DDR3 1067 MHz ok
      Bluetooth: Old - Handoff/Airdrop2 not supported
      Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
      NVIDIA GeForce 9400M - VRAM: 256 MB
      Color LCD 1280 x 800
    System Software: ℹ️
      OS X 10.10.1 (14B25) - Uptime: 4:42:54
    Disk Information: ℹ️
      WDC WD5000LPVT-80G33T2 disk0 : (500.11 GB)
      S.M.A.R.T. Status: Verified
      EFI (disk0s1) <not mounted> : 210 MB
      [redacted] (disk0s2) / : 499.25 GB (142.01 GB free)
      Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
      HL-DT-ST DVDRW  GS23N 
    USB Information: ℹ️
      Apple Inc. Built-in iSight
      Apple Internal Memory Card Reader
      Apple Inc. Apple Internal Keyboard / Trackpad
      Apple Computer, Inc. IR Receiver
      Apple Inc. BRCM2046 Hub
      Apple Inc. Bluetooth USB Host Controller
    Gatekeeper: ℹ️
      Anywhere
    Kernel Extensions: ℹ️
      /System/Library/Extensions
      [not loaded] com.driver.KUSBModemCDC07 (4.0.2) [Support]
      [not loaded] com.driver.KUSBModemDataA07 (4.0.2) [Support]
    Startup Items: ℹ️
      JHHPortDetect: Path: /Library/StartupItems/JHHPortDetect
      Sudochmod: Path: /Library/StartupItems/Sudochmod
      Startup items are obsolete in OS X Yosemite
    Launch Agents: ℹ️
      [not loaded] com.adobe.AAM.Updater-1.0.plist [Support]
      [running] com.bjango.istatmenusagent.plist [Support]
      [loaded] com.google.keystone.agent.plist [Support]
      [loaded] com.oracle.java.Java-Updater.plist [Support]
      [running] jp.co.canon.CUPSCAPT.BG.plist [Support]
      [loaded] org.macosforge.xquartz.startx.plist [Support]
    Launch Daemons: ℹ️
      [loaded] com.adobe.fpsaud.plist [Support]
      [invalid?] com.adobe.SwitchBoard.plist [Support]
      [running] com.bjango.istatmenusdaemon.plist [Support]
      [loaded] com.google.keystone.daemon.plist [Support]
      [loaded] com.microsoft.office.licensing.helper.plist [Support]
      [loaded] com.oracle.java.Helper-Tool.plist [Support]
      [loaded] com.oracle.java.JavaUpdateHelper.plist [Support]
      [loaded] org.macosforge.xquartz.privileged_startx.plist [Support]
      [loaded] org.tcpdump.chmod_bpf.plist [Support]
    User Launch Agents: ℹ️
      [loaded] com.adobe.ARM.[...].plist [Support]
    User Login Items: ℹ️
      iTunesHelper Application (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
      Caffeine Application (/Applications/Caffeine.app)
      AdobeResourceSynchronizer ApplicationHidden (/Applications/Adobe Reader.app/Contents/Support/AdobeResourceSynchronizer.app)
      Dropbox Application (/Applications/Dropbox.app)
      HyperDock Helper UNKNOWN (missing value)
    Internet Plug-ins: ℹ️
      o1dbrowserplugin: Version: 5.38.6.0 - SDK 10.8 [Support]
      Default Browser: Version: 600 - SDK 10.10
      AdobePDFViewerNPAPI: Version: 11.0.09 - SDK 10.6 [Support]
      FlashPlayer-10.6: Version: 15.0.0.246 - SDK 10.6 [Support]
      Flash Player: Version: 15.0.0.246 - SDK 10.6 Mismatch! Adobe recommends 16.0.0.235
      QuickTime Plugin: Version: 7.7.3
      googletalkbrowserplugin: Version: 5.38.6.0 - SDK 10.8 [Support]
      SharePointBrowserPlugin: Version: 14.0.0 [Support]
      AdobePDFViewer: Version: 11.0.09 - SDK 10.6 [Support]
      zako: Version: zako 1.0.0.0 - SDK 10.8 [Support]
      iPhotoPhotocast: Version: 7.0 - SDK 10.8
      JavaAppletPlugin: Version: Java 7 Update 71 Check version
    User internet Plug-ins: ℹ️
      BlueStacks Install Detector: Version: Unknown
    Safari Extensions: ℹ️
      AdBlock
      ClickToFlash
      Awesome Screenshot
      Breaking News
      The New York Times
    3rd Party Preference Panes: ℹ️
      Flash Player  [Support]
      Java  [Support]
    Time Machine: ℹ️
      Skip System Files: NO
      Mobile backups: ON
      Auto backup: YES
      Volumes being backed up:
      Arupreet: Disk size: 499.25 GB Disk used: 357.24 GB
      Destinations:
      CHIKKI [Local]
      Total size: 331.41 GB
      Total number of backups: 2
      Oldest backup: 2014-06-10 13:36:00 +0000
      Last backup: 2014-09-08 13:57:40 +0000
      Size of backup disk: Too small
      Backup size 331.41 GB < (Disk used 357.24 GB X 3)
    Top Processes by CPU: ℹ️
          8% python
          3% WindowServer
          3% uTorrent
          2% SystemUIServer
          0% mtmfs
    Top Processes by Memory: ℹ️
      1.29 GB JavaAppLauncher
      123 MB SystemUIServer
      102 MB iStatMenusDaemon
      86 MB com.apple.WebKit.WebContent
      81 MB WindowServer
    Virtual Memory Information: ℹ️
      50 MB Free RAM
      1.97 GB Active RAM
      1.90 GB Inactive RAM
      673 MB Wired RAM
      6.70 GB Page-ins
      8 MB Page-outs
    Diagnostics Information: ℹ️
      Dec 10, 2014, 10:48:11 AM Self test - passed
      Dec 9, 2014, 02:54:15 AM VLC_2014-12-09-025415_Arus-MacBook-Pro.crash

    Not sure if using Terminal would help:
    Launch Activity Monitor
    Select Memory tab
    Launch Terminal
    type sudo purge
    password
    10-15 sec later Terminal should refresh and show freed memory & cache

  • How to measure memory consumption during unit tests?

    Hello,
    I'm looking for simple tools to automate measurement of overall memory consumption during some memory-sensitive unit tests.
    I would like to apply this when running a batch of some test suite targetting tests that exercise memory-sensitive operations.
    The intent is, to verify that a modification of code in this area does not introduce regression (raise) of memory consumption.
    I would include it in the nightly build, and monitor evolution of summary figure (a-ah, the "userAccount" test suite consumed 615Mb last night, compared to 500Mb the night before... What did we check-in yesterday?)
    Running on Win32, the system-level info of memory consumed is known not to be accurate.
    Using perfmon is more accurate but it seems an overkill - plus it's difficult to automate, you have to attach it to an existing process...
    I've looked in the hprof included in Sun's JDK, but it seems to be targetted at investigating problems rather than discovering them. In particular there isn't a "summary line" of the total memory consumed...
    What tools do you use/suggest?

    However this requires manual code in my unit test
    classes themselves, e.g. in my setUp/tearDown
    methods.
    I was expecting something more orthogonal to the
    tests, that I could activate or not depending on the
    purpose of the test.Some IDEs display mmeory usage and execution time for each test/group of tests.
    If I don't have another option, OK I'll wire my own
    pre/post memory counting, maybe using AOP, and will
    activate memory measurement only when needed.If you need to check the memory used, I would do this.
    You can do the same thing with AOP. Unless you are using an AOP library, I doubt it is worth additional effort.
    Have you actually used your suggestion to automate
    memory consumption measurement as part of daily builds?Yes, but I have less than a dozen tests which fail if the memory consumption is significantly different.
    I have more test which fail if the execution time is siginificantly different.
    Rather than use the setUp()/tearDown() approach, I use the testMethod() as a wrapper for the real test and add the check inside it. This is useful as different test will use different amounts of memory.
    Plus, I did not understand your suggestion, can you elaborate?
    - I first assumed you meant freeMemory(), which, as
    you suggest, is not accurate, since it returns "an
    approximation of [available memory]"freeMemory gives the free memory from the total. The total can change so you need to take the total - free as the memory used.
    - I re-read it and now assume you do mean
    totalMemory(), which unfortunately will grow only
    when more memory than the initial heap setting is
    needed.more memory is needed when more memory is used. Unless your test uses a significant amount of memory there is no way to measure it reliably. i.e. if a GC is perform during a test, you can have the test appear to use less memory than it consumes.
    - Eventually, I may need to inlcude calls to
    System.gc() but I seem to remember it is best-effort
    only (endless discussion) and may not help accuracy.if you do a System.gc(); followed by a Thread.yield() at the start it can improve things marginally.

  • HP Laserjet p1102w - after firmware upgrade / Smart Install update - down to 1MB free memory

    Hello,
    I have a Laserjet p1102w running off a laptop with Windows 7 64-bit. Just bought the printer this month.
    After updating the firmware to 20120814 version and updating the SmartInstall update utility for the 20120814 version as well, I am now down to 1 MB free memory (out of 8MB originally). [Another LJ p1102w updated prior to these updates has 3MB free memory.]
    Because I have 1MB free memory, the printer is almost a brick. It can print simple text based pages - however, printing any page with a graphic or a PDF file will cause the printer to take forever to receive data - essentially preventing printing a page on  my new printer (while printing the same page instantaneously on my older nonupdated p1102w).
    Is there any way to fix this problem, given there is no memory upgrade option? Otherwise, this printer is a brick.
    Thank you in advance for a reply - especially from HP.

    Hi cyskim,
    Did you tried turning the printer off and on after updating the firmware? This should clear its memory, including any memory may affected during the firmware upgrade proccess .
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • N97 Fluctation in free memory on C

    Hi,
     I’ve noticed that free memory in C:\ fluctuate for no apparent reason.
    Generally my C:\ is hanging around 42.2 mb of free memory but I’ve noticed a quite  a number of times it is fluctuating around 42.1, 42.0mb and even at times 41.9 mb.
     Note: I can confirm that I, for sure, clear all privacy data (hence I don’t think web browsing has left any residue) prior to checking memory on C:\ and haven’t added even a single byte of additional info via any app myself.
     When this happens I generally check the C:\ memory consumption by various apps via the FileManager and have noticed that while memory consumed by all apps remains constant, memory consumption by the Contacts app (built in) have gone up. I do not have hundreds of contacts in my phone hence when my C:\ shows 42.1 Mb Contacts app seem to have consumed around 50-55 kb of memory, which I have no problem with.
    But when C:\ memory falls to say 42.1 or 42.0 or so FileManager shows about 70-75Kb of memory consumption against Contacts app. While this minor increase in memory consumption by Contacts doesn’t justify the drop in free memory on C:\, I continue to wonder what shifts Contacts apps’ memory consumption from 50-55kb to 70-75 kb. I haven’t added any contacts, haven’t edited them with additional info or even associated picks with them newly.
     If I reboot couple of times, SOME TIMES, the free memory on C:\ resets to its usual figure – 42.2MB and the FileManager shows about 50-55kb against the Contacts app.
     Any ideas?

    I Wonder if it could be something like the call/message logs.
    Every time you Call someone or send them a text, it might be tag that info onto the contacts database.
    Try erasing your Logs and see if that increases the memory
    Message Edited by foxmeister on 01-Sep-2009 10:24 AM
    If this Post is helpful. A click on the White Kudos star is always Appreciated
    Last Nokia: Nokia Lumia 800
    Current Phone: A Non Nokia Device
    Previous Phones:Don't Ask ;-)

  • How to reset free memory to the highest

    I sometimes restart Tiger to reset the "Free" memory (RAM) higher.
    Is there a way to reset this without restarting?
    I have 768 MB DDR SDRAM 1/4 of which is used once restarted. After a while of use, it never gets back to a 1/4. With no user apps open it can be as high as half used (My human memory seems to think it is near 1/2). So I restart to claim back the 1/4. Is there another way to clean out the processes that are using up resources?
    ALSO
    If I use widgets, they not only take up memory, but seem to use CPU resources as do other applications. I clean all this by restarting. I can quit all widgets to clean that out without a restart, but clearly other things claim resources. If I burn a movie DVD and another process calls to the computer, there can be for an instant a surge on available resources. I do not mean something I activate during the burn, I mean hands off but some process which is less likely if I am burning just after a restart vs after much computer use. I am assuming it delays the feed to the recording DVD which given the burning process, clocks steady and at one speed, different than the CPU and computer resources which can compensate clocking during a process. So a restart seems to minimize bad burns. It sure seems I get no bad burns if I burn after a restart. That most occurred with burns on computer time many hours and other usage past the restart.
    Is there a way to reset all or close at least the most aggressive activity, to basic without a restart? I realize there are many things that build-up though I know not all. RAM, Cache, monitoring activity, -=-any know a list of all the types of activity called to play after a good bit of computer use, different than a fresh restart?

    10.4 is even better with on the fly exchange, virtual memory is the same. Only the "specialty" apps are accessing any type of memory management/control and they are developed at the kernel level. You'll know which one's fall into this category as they put a very big strain on your wallet. Most seem to be working fine. A 3D CAD modeling program I am familiar with is absolutely incredible yet on the same machine running Apple's own universal apps choking and sputtering. It is not Universal but Intel native and even the previous and current PPC release run great under Rosetta, it also requires a USB security device just to open the application.
    Restarting is working but it shouldn't make any difference whatsoever. The reason why it is is that apps and HW are not releasing resources properly i.e other apps, files, HD's, ports, CPU's, GPU's, keyboards, track-pads etc (even after they quit) this type of resource sharing is a new thing for them. The restart is simply releasing the resources from everything. Well almost everything, FW devices as well as partitioned internal HD's seem to misbehave, slowing things down or hanging, during startup and shutting down. A common way people are finding to force their computers to see certain USB and FW devices is to plug them in prior to startup and/or launching of any apps that may want to use such devices. However, this is not a reliable fix for devices that want to launch, control or be controlled by apps. i.e. video cameras, Maxtor OneTouch HD's etc. An all new system architecture in 10.4. I believe the majority of issue with HW and SW and the incredible number of kernel panics people are experiencing across HW configurations (G4-Intel) is that there is and error in the I/O kit at the kernel level.
    One thing I see that is needed to tame this beast for USB and FW devices to work properly is a System Pref such as CD's and DVD's. When you connect a FW camera: When you connect a FW Video Device: When you connect a FW MIDI Device: When You Connect a FW HD: etc. with the same exact answers like Ask what to do, Open App, Ignore, Open finder, Run script etc. A system pref like this I believe would even help smoke out the popping kernel in a heartbeat.
    People should not be looking for lists of supported equipment rather a very small list of "unsupported" devices. AFAICT any device or external piece of equipment that conforms to industry standards should work regardless if the manufacturer developed "drivers" for it or not.
    I have waited for an OS like this from Apple for about 10 years. No longer had the need for it 2 or so years ago and stopped having to know what's going on. Had to get back into it in March 06 as installation of 10.4 on a G4 brought it to it's knees w/ HW frying all over the place apps not working correctly, kernel panics galore. Updated to MBP and problems are worse.
    Another thing I'd like to mention is that it appears that my MBP 2.16, has already become a LEGACY PRODUCT (obsolete). G5 64 bit, ICD 32(-!?), ICD2 64 bit.
    If their is anyone out there that can confirm this I would appreciate it. My .Mac account expires in a few hours so I will not be able to reply here, email or chat but will respond to a board you direct me to that allows anonymous/guest posts.
    I am very curious about what a newer MacBook and a G5 computer says in the System Preferences>Processors. Mainly interested in MacBooks with ICD2 and G5's but am also curious about supported late model PB G4's w Core Image support and 64+ MB VRAM.
    Your machine.
    What is the processor? i.e Intel Pentium M Processor
    Core Freq:
    Bus Freq:
    L1 Cache:
    L2 Cache:
    Processors:(max number)
    A lot of the kernel panics being posted are all referring to HW devices primarily CPU's and GPU's and other very basic internal HW. It seems the cross architecture is getting garbled in this I/O kit. Errors in the kernel aren't usually that easy to find but I think if enough people express their concerns this one may find a quick resolution as it seems to occur close to the exchange.
    Thanks
    FWIW

  • My 4th gen ipod won't backup after it froze during a software update to 4.3.5. I had to cancel the backup at the start of the update and now it won't let me backup to my computer, freezes during backup or says my backup is corrupted.

    I pressed 'X' during a backup after it froze during an update to software 4.3.5 and now it won't let me backup on my computer. Does anyone have any ideas? It either freezes during backup or says my 'backup is corrupted' or 'I cannot backup on my computer'. I have had to abort quite a few attempted backups since the initial problem, which I think has made it worse. I have already tried restoring my ipod, deleting the aborted backup from my preferences/devices in itunes and deleting it from my user/appdata/etc on my PC hard drive. Any ideas what to try next?

    After hours of frustration I eventually decided to restore. I lost my apps, but i didn't have many and was able to reinstall them for free. During the restore it updated my ipod to the latest software 4.3.5, which i think may have caused the initial problem, but the backup issue remains. Sometimes it stops me from syncing and other times it allows me to skip the backup, but still says that i can't backup on my computer. I'm worried that it has done something to my computer as it took me six hours to do a Bullguard scan, which only normally takes about an hour. The scan didn't come up with any viruses, but it stalled at system32 for ages. The only other thing that i can think of is that a demo CD I uploaded may have caused a problem. iTunes couldn't find a track listing for it but gave me a few different options. i thought I had to choose one to continue, so did that then changed the track details to the correct tracks. I'm now worried that may have introduced an issue or caused a glitch in iTunes. How paranoid am I sounding?  

  • RMAN Duplicate DB fails to restore datafile created during backup.

    Database is 9i.
    Performing duplicate database using rman on seperate host.
    Reason of failure is , there were datafiles created during backup. Question is , Is there a workaround to perform duplicate database to work.
    Error :
    released channel: aux1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 12/16/2007 14:42:44
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 791 found to restore
    RMAN-06023: no backup or copy of datafile 790 found to restore
    RMAN-06023: no backup or copy of datafile 789 found to restore
    RMAN-06023: no backup or copy of datafile 788 found to restore
    RMAN-06023: no backup or copy of datafile 787 found to restore
    RMAN-06023: no backup or copy of datafile 786 found to restore
    Backup Date is : 23rd Nov to 26th Nov
    Datafile created between backup period are :
    786 /oracle/prod/proddata17/btabd_322/btabd.data322 Nov-25-2007 02:58:38 AM
    787 /oracle/prod/proddata17/btabd_323/btabd.data323 Nov-25-2007 03:06:02 AM
    788 /oracle/prod/proddata17/btabd_324/btabd.data324 Nov-25-2007 03:17:48 AM
    789 /oracle/prod/proddata17/btabd_325/btabd.data325 Nov-25-2007 03:26:50 AM
    790 /oracle/prod/proddata17/btabd_326/btabd.data326 Nov-25-2007 03:32:31 AM
    791 /oracle/prod/proddata17/btabd_327/btabd.data327 Nov-25-2007 03:39:59 AM
    Restore Script :
    rman TARGET dtbackup/dt0dmin@prod CATALOG rman_prd/rman_prd@rcat_db connect auxiliary /
    run {
    set until time = "TO_DATE('11/26/2007 10:30:00','mm/dd/yyyy hh24:mi:ss')";
    allocate auxiliary channel aux1 type 'SBT_TAPE' PARMS="BLKSIZE=262144";
    DUPLICATE TARGET DATABASE TO DUP ;
    }

    I think there is no workaround and this is expected behavior - atleast till 10.2. If you refer oracle documentation, it says that it requires target database in either MOUNT or OPEN stage to duplicate database using RMAN. So RMAN will get current physical structure information about target database from its control file and when any file is not there in the backup, it will give error. Only way to resolve this is to take backup of these datafiles through RMAN either as backupset or copy. ( I think oracle can take hint from here and make RMAN database duplication possible for which backup is not available - its a small change in code - if backup not found, then start taking backup. Already in 11g, during RMAN duplication, RMAN can use backup from other server)

  • Let me know exact purpose of Free memory statement...

    What happens when we write the statement like below:
    Free memory id ‘ZBTS_BAPIRET2'.
    Kindly let me know exact purpose of that….!
    Akshitha.

    Hi,
    Just Type FREE in the programe and press F! on that ,, no need to post ok all the best
    FREE - Resets a data object to its original value and releases the resources
    it occupied.
    Basic form    FREE f.
    Effect        FREE f has the same effect as CLEAR f, namely that a Data
                  object f is reset to the initial value corresponding to its
                  type.
                  Unlike CLEAR, FREE also releases any resources taken up by the
                  data object f. This can be important with internal tables ,
                  structures containing tables, and table work areas (created
                  using TABLES).
                  After FREE f, the data object f can be re-addressed at any
                  time. The only condition is that you may need to re-allocate
                  resources to the object.
    Note          If f is an internal table with header line (where the name f
                  in a sense has two meanings) the statement FREE f refers to
                  the body of the table, and the statement CLEAR f refers to the
                  header line.
    Note          Performance:
                  The runtime required to reset an internal table and free its
                  resources depends how much memory the internal table has been
                  occupying.
                  To reset a small internal table takes around  80 msn (standard
                  microseconds), a 200 KB table takes around 700 msn, and a 1 MB
                  table around 3500 msn.
                  If the table has an index or hash table (because it was  created using INSERT, DELETE or SORT, or edited using
                  COLLECT), the runtime increases, since the index or hash table
                  also need to be released.
    FREE - Releasing an Area of ABAP Memory
    Basic form    FREE MEMORY.
                   Addition:
                   ... ID key
                   In an ABAP Objects context, a more severe syntax check is
                   performed that in other ABAP areas. See ID must be specified.
    Effect        This statement releases an area of  ABAP Memory previously
                   created with an EXPORT TO MEMORY statement. After this, an
                   IMPORT ... FROM MEMORY statement would return the return code
                   4.
    Notes         -  FREE MEMORY deletes the entire ABAP-Memory, that is, all of
                      the data exported using EXPORT TO MEMORY.
                   -  Please consult Data Area and Modularization Unit
                      Organization documentation as well.
    Addition      ... ID key
    Effect        Only the ABAP-Memory with ID key is released.
    Related       EXPORT TO MEMORY, IMPORT FROM MEMORY
    Additional help  Deleting Data Clusters from Memory
    Return ->
    FREE - Release memory occupied by an external object
    Basic form    FREE OBJECT obj.
                   Addition
                   ... NO FLUSH
    Effect        Releases the memory needed for object obj. The object cannot
                   be processed afterwards.
                   The return code is set as follows:
                   SY-SUBRC = 0:  Object was released successfully.
                   SY-SUBRC = 1:  Error during communication with SAPgui.
                   SY-SUBRC = 2:  Error during function call in SAPgui.
                                  The OLE function modules are only implemented
                                  in Windows.
    Addition      ...NO FLUSH
    Effect        Collects all of the FREE OBJECT calls on the application
                   server before sending explicitly to the SAPgui in a single
                   operation by calling the function module FLUSH.
         FREE OBJECT belongs to a group of key words that allows you to process
    external objects with ABAP/4. At present, only the object model OLE2 is
    supported, i.e. all objects must be of type OLE2_OBJECT. This type and other
    necessary data are defined in the include program OLE2INCL.
    Example       Release an EXCEL object:
                   INCLUDE OLE2INCL.
                 DATA EXCEL TYPE OLE2_OBJECT.
                 CREATE OBJECT EXCEL 'Excel.Application'.
                 FREE   OBJECT EXCEL.
    elated       >CREATE OBJECT, SET PROPERTY, GET PROPERTY, CALL METHOD

  • Solaris 10 - VMSTAT free memory behavior puzzling

    I am running a rather complex and large application on a Sun v215 (2 UltraSPARC IIIi 1.5 ghz with 16 GB RAM).
    When I start the application up vmstat reports about 95% free memory but over time (7 days) the free memory reported by 'vmstat 60' decreases at a steady rate until it appears to level out around 80% free memory. I do not have any memory leaks in the application. The application is a combination of Java and C code. There is a fare amount of I/O but nothing overwhelming. Is there an explaination for the decrease and leveling out of the free memory over this time period?

    Thanks! That is what I was thinking but I wanted someone to validate my theory. Do you have any technical reference(s) (i.e. article, book, webpage) that backups the statement "If a Solaris system have a lot of free memory, Solaris will start to cache filesystem pages to the memory until the memory is used about 80-90%."?
    Any technical reference will help me make my case with our customer much easier. Thank you once again for your help.
    As followup note: I re-ran some tests with vmstat -p and there is quite a bit of file system paging occuring. I do have many file-page-ins. However I would not expect the file-page-out and file-page-free to be as high as they are if free memory continues to decrease to 80%.

  • Memory leak during insert on PocketPC 2002

    We've built an application using an Oracle Lite 5.0.1 database using an ODBC interface. We've stolen most of the code from:
    C:\OraHome1\Mobile\Sdk\wince\samples\ODBC\sample.cpp
    We've found that there appears to be a memory leak during inserts (haven't fully analyzed updates/gets). The thing leaks roughly X bytes per insert where numBytesInInsertString < X < (2.5 * numBytesInInsertString)
    Has anyone else seen this? It becomes really apparent during out load from XML method where we walk through an xml document and perform roughly 7000 inserts in a row (commit at the end). The memory leak is not coming from the XML stuff, already tested for that.
    Paul Runstedler
    Intrexa Corp.

    I've went back to the sample to confirm my suspicions and sure enough there is memory being leaked. I loaded up the sample workspace in "[ORACLEHOME]\Mobile\Sdk\wince\samples\ODBC" and modified the sample.cpp code ever so slightly. Instead of performing one insert, one update and one select, it performs 5 iterations of 2000 inserts and skips over the updates and deletes. I've placed some memory reporting functionality after each iteration of inserts to report the free memory and this is what I get
    After Connection and creation of table Free: 19742720 Used: 8237056
    After iteration 1, 2000 inserts Free: 19439616 Used: 8540160
    After iteration 2, 2000 inserts Free: 19509248 Used: 8470528
    After iteration 3, 2000 inserts Free: 19439616 Used: 8540160
    After iteration 4, 2000 inserts Free: 19509248 Used: 8470528
    After iteration 5, 2000 inserts Free: 19283968 Used: 8695808
    After commit Free: 19283968 Used: 8695808
    As you can see, there is a loss of about 458700 bytes (about half a meg) over the 5 iterations. Thats about 46 bytes per insert. Not a lot for single insert, but this will eventually cripple any application that wants to perform a high number of inserts.
    Any help would be appreciated.
    Thanks,
    Paul Runstedler
    Intrexa Corp.
    PS: The following is the modified method in sample.cpp
    BOOL CSampleApp::InitInstance()
    COLiteDB db;
    MEMORYSTATUS memInfo;
    CString message;
    if (db.Connect())
    db.Execute (_T ("CREATE TABLE TT (COL1 VARCHAR2(40), COL2 VARCHAR2 (50))"));
    if (*db.GetError())
    AfxMessageBox (db.GetError());
    memInfo.dwLength = sizeof(memInfo);
    GlobalMemoryStatus(&memInfo);
    // Report memory usage
    message.Format( _T("After Connection and creation of table  Free: %d Used: %d\n"),
    memInfo.dwAvailPhys, (memInfo.dwTotalPhys - memInfo.dwAvailPhys));
    TRACE(message);
    CString insertString;
    for( int j = 0; j < 5; j ++ ) {
    for( int i = 0; i < 2000; i ++ ) {
    insertString.Format( _T("INSERT INTO TT VALUES (\'TESTINGTESTING123%d\', \'TEST2ANDBLAJHBLAJBLAJKBJAJAJAJAJJAJAJAJAJA\')") );
    db.Execute (insertString);
    if (*db.GetError()) {
    AfxMessageBox (db.GetError());
    memInfo.dwLength = sizeof(memInfo);
    GlobalMemoryStatus(&memInfo);
    // Report memory usage
    message.Format( _T("After iteration %ld, 2000 inserts  Free: %d Used: %d\n"),
    (j+1), memInfo.dwAvailPhys, (memInfo.dwTotalPhys - memInfo.dwAvailPhys));
    TRACE(message);
    #if 0
    db.Execute (_T ("UPDATE TT SET COL2 = 'TESTING ORACLE LITE' WHERE COL1='TEST1'"));
    if (*db.GetError())
    AfxMessageBox (db.GetError());
    CSQLResult* pres = db.Execute (_T ("SELECT * FROM TT"));
    if (pres != NULL)
    const CRowObj* pobj = pres->Fetch();
    while (pobj)
    CString str = (LPCTSTR)pobj->GetAt (0);
    str += TEXT (" ");
    str += (LPCTSTR)pobj->GetAt (1);
    AfxMessageBox (str);
    pobj = pres->Fetch();
    delete pres;
    #endif
    if( db.Commit() != TRUE ) {
    AfxMessageBox( _T("couldn't commit") );
    memInfo.dwLength = sizeof(memInfo);
    GlobalMemoryStatus(&memInfo);
    // Report memory usage
    message.Format( _T("After commit  Free: %d Used: %d\n"),
    memInfo.dwAvailPhys, (memInfo.dwTotalPhys - memInfo.dwAvailPhys));
    TRACE(message);
         // Since the dialog has been closed, return FALSE so that we exit the
         // application, rather than start the application's message pump.
         return FALSE;
    }

  • Application Storage - Free memory is zero

    Need URGENT  help for my mobile  issue ( Model 9220 Curve )  - Application Storage - Free memory is zero
    ( Tried reaching Blackberry Support in India - NO RESPONSE  ) 
    1. Getting Supplimentary Service failure : General Error - Comes on re-booting this device
    2. No free memory despite removing many application > 100 MB - despite status is same 
    3. Application Storage , there is in "Others "  - which is using 240 MB , besides " System " & " Applications " 
    4. Un-intalled ARM ( not deleled ) but could install again , in order to debug and isolate issue , as there is not enough free space.
    5 . Tried " Hard & Soft " Resets 
    Suggest !

    Make a full backup then do a security wipe on the device.
    http://www.blackberry.com/btsc/KB14058
    1. Please thank those who help you by clicking the "Like" button at the bottom of the post that helped you.
    2. If your issue has been solved, please resolve it by marking the post "Solution?" which solved it for you!

  • Weblogic server 10.0.1 stop all request when memory drop and grow again

    We are running weblogic server 10.0.1 on window server 2003 with a custom applicaiton . our heap size is set to 1024MB min and max. Usually it is running normally, but at some ocassion, we find the webogic process memory drop to 80K and then grow gradually( from the task window). During this period, the server stops all requests until the process memory reach about 1000MB as we look at the server console. It starts process again and accept requests. After the requests are cleared, the server resume normal. Is it a full GC or window sever memory allocation when its memory is low? I cannot figure out this issue.
    Much appreciated if there is any advices.
    Keith

    First of all, when you go to monitor tab you see all the threads from self tuning thread pool. This includes all the threads in the server, not only the ones allocated to your workmanager.
    This is how i think its working...
    1) All your threads are hung..you have 300 hogging threads , that reaches your max thread constraints on your work manager.. weblogic is not going to allow any more requests from that work set to take up threads.. and capacity is both executing and queued requests..you got 150 pending requests and 300 hogging.. so a total of 450, your capacity.
    2) Its not 631 threads, its 631 requests, weblogic must be reporting all the threads in the queue at the time you monitored it.
    3) The reason for one cluster to go down would be that those servers in that cluster were waiting for some resource. As you have different applications in the two clusters...there must be some resource that cluster1 uses which was not available. you can see what those threads were doing by getting thread dumps when this happens.

Maybe you are looking for