How to reduce system's ram usage

I noticed that Lion is eating up about 90% of my MBA's 2GB RAM. With Snow Leopard, the laptop has almost never ran out of memory (it occasionally did when I ran very memory-intensive app such as Windows XP in VirtualBox). With Lion, my memory is almost always at 10-20 MB free (the same level of free memory when I ran WindowsXP VirtualBox). System usage up to 33% most of the time. And the exhaust fan is running like crazy. Most notably is that all of that happens when I run a normal load: browsing Safari while listenning to iTunes.
I don't know which system threads are running in the background that eat up that whole lot of memory. So what are the most memory-hogging system features and how can I turn them off to reduce the system's usage of memory? Thanks.

Open up Activity Monitor (from Utilities) and select "All Processes". Then you can see what is going on.  Latest Safari is a pig and will use lots of RAM.
I gotta say, 2 MB is precious little RAM. Since the Mac plus, the minimium required RAM by Apple has always been enough to run the software, but has never been enough to run it well, IMO.
charlie

Similar Messages

  • [SOLVED] How to see real Linux Ram usage ? (diferent values)

    Hi everyone,
    I am using Linux (Ubuntu at start and now Arch Linux) since 2004. I never had problems to understand it but now I have a problem that I cannot understand.
    I have 2 computers (one is mine Asus 1215N and one is from my girlfriend Asus 1005HA), the first one has Arch Linux with Gnome3, and the seconde one has Arch Linux with Xfce4.
    When I check the ram I get this (on my Asus 1215N):
    (Terminal 'free') :
    Total - 2055584
    Used - 497792
    Buffers/Cache Used - 164288
    (Gnome System Monitor)
    162,4 Mib (8,1%) de 2,0Gb
    Conky
    Ram Usage 488Mib/1.96Gib - 24%
    So, apparently Gnome System Monitor only show me the Buffers/Cache Used memory (isn't that wrong ?) and the other two show me the "real" Ram usage (~488Mb)
    Now on the seconde laptop conky show me the Buffers/Cache Used memory (when i look at it I see for example 120Mib but when I look at 'free' he says to me that the used memory is 500Mib.
    So right now I don't really undestand who's wrong and who's right... did my Gnome3 really use 400mb at startup ? Did the xfce of my girlfriend really uses ~70-120mb at startup ?
    (PS: we have the same conkyrc file.
    Thanks in advance
    Last edited by aliasbody (2011-07-08 10:00:33)

    aliasbody wrote:
    Thanks for your help. But if the Buffers/Cache free is the real Free ram as I understand, then Free Memory is the allocated for software (but free)... That seem's good, but I have a question, I have made a teste, when I tried to open a lot of Chromium tabs (Chromium is a good example as it uses a LOT of ram..)
    Then the Buffers/Cache Free was at 1200Mib / 2000Mib (At free -m)
    and Free Memory was at 19500 Mib / 2000Mib (At free -m)
    And then the system starts using swap...
    So if the Buffers are the really free ram and the Free Memory the all allocated memory and free why doesn't he cleans the allocated/cache before creating a new and starting using the swap ?
    You seem to have the terms mixed up. Used memory is the cached memory and the memory allocated for applications grouped together. +/- buffers/cache is only the memory allocated for applications (It basically means used memory - buffers and cache).
    As to why it starts swapping, I have no idea. It shouldn't, unless it's really out of RAM.
    aliasbody wrote:Ps : And why did I got 2 diferent values from 2 pc's with the same conky configuration ? (since the first laptop show Free Ram and the second onde show Buffers/Cache)
    That's very strange too. Are you absolutely sure that the configs are the same? Sounds like yours is missing the no_buffers option.

  • How to reduce RAM has reserveed by hardware?

    Hp Probook 4520s. I add RAM from 2 to 4 Gb. Resource monitor indicate that about 1Gb RAM has reserveed by hardware.
    How to reduce this reserved RAM?
    BIOS installed last version F.20 8 сен 2011...
    OS Windows 7 Home Basic say 4Gb and 2.84 available/

    Hardware reserved memory is memory used by your hardware such as the video card. You shouldn't worry about this memory usage.

  • Gathering CPU/RAM usage?

    Hello everyone, I'm fairly new to Java but have a decent amount of C experience. I'm trying to build somewhat of a very low level monitoring tool in Java, but can't find out the simplest way to get current CPU/RAM usage. I've ran into many references to the Java Management Extensions (JMX), but can't find any basic documentation on any functions that might help me out.
    If anyone can point me in the right direction on how to gather the CPU/RAM usage I will be very grateful, thanks for your time.

    Theres no way to get this through the "MBeans"?
    Taken from this URL:
    http://java.sun.com/developer/technicalArticles/J2SE/jconsole.html#OSResources
    "The JDK 5.0 extends the Operating System MBean to include certain OS resource information such as:
    * the process CPU time
    * the amount of total and free physical memory"
    Doesn't that mean theres some way to directly get (at least) the RAM usage without having to write platform specific JNI code? Or am I missing something?

  • How to reduce ram usage in firefox to bring its memory footprint as close to navigator's as possible .

    So yes , I still use navigator and for my awesome albeit not too powerful laptop , it is a godsend , never going beyond 200 MB on the ram usage . But the tinkerer in me wants to know if its possible to fiddle around in firefox and make it as light as navigator cuz lets face it , firefox may be good but 900MB ram usage is just too much .

    I am trying to close some unnecessary program
    To see more available memory, you need to get in the habit of QUIT-ing unnecessary Applications. If you simply close their windows, they stay active in the background, waiting to be re-activated.
    Mavericks and later use RAM Memory differently, and it is expected behavior to see all memory in use. Use the Activity Monitor > Memory display to check your memory pressure. Green is good.

  • How to reduce CompositionElements/RAM consumption, changing MediaElement won't release memory.

    Hello there,
    First of all thanks for such a great framework, its pretty nice architected and really helpfull.
    I've been using media composition elements In custom made player experience,
    What I came across and can't get rid off is memory usage by the flash player whilst media elements are in series and parallel.
    Whenever I try to remove media elements from composition element,
    or add/change/remove mediaElement it won't affect player to release memory.
    'nulling' player media reference, removing element from media container, also won't help.
    Aprox. adding up to twenty media elements causes 400-500 Mb of RAM usage, the more lements the more RAM..
    Could guru's tell me how can I reduce/avoid such an issue, any workaround? (Is that issue related to flash player VideoObject/NetStream scope thats out of OSMF?)
    Any advance will be apreciated.Thank you.
    Env. Flex SDK 4.1 + OSMF 1.5 release
    Pseudo code as follows: 
    SomeMediaFactory 
    .. function constructMediaElement():MediaElement
        var aggrElement:ParallelElement = new ParallelElement();
        var serial1:SerialElement = new SerialElement();
        var serial2:SerialElement = new SerialElement();
        var videoOfSerial1:LightweightVideoElement = new LightweightVideoElement(new URLResource("some.media1.mp4");
        var videoOfSerial2:LightweightVideoElement = new LightweightVideoElement(new URLResource("some.media2.mp4");
        //add to serial
        serial1.addChild(video1);
        serial1.addChild(video2);
        serial1.addChild(video5);
        serial2.addChild(video6);
        serial2.addChild(video7);
        serial2.addChild(video10);
        //add to parallel
        aggrElement.addChild(series1);
        aggrElement.addChild(series2); 
        return aggrElement;
    //release container and media
    ...function releaseMedia()
        if (mediaPlayer.media)
            mediaContainer.removeMediaElement(mediaPlayer.media)
        mediaPlayer.media = null;   
    ...function constructMedia()
        releaseMedia();
        var newMedia:MediaElmnt = SomeMediaFactory.constructMediaElement();
        mediaPlayer.media = newMedia;
        mediaContainer.addMediaElement(newMedia)
    ..function init()
        constructMedia();
    .. function onSomeEventThatWeNeedChangeMediaSource()
         releaseMedia()..
         mediaPlayer.media = Somefactory.newMedia();

    Hi msrustem,
    It looks like there's indeed a memory build up when using multiple media elements in a serial composition.
    I've currently logged a bug in Jira (link: http://bugs.adobe.com/jira/browse/FM-1227), and it will go throught a review process (hence I'm not sure when the fix will be out, but as soon as it is, I'll let you know).
    Off the top of my head it looks like the netStreams used to create the serial composition are not reused, but rather new ones are added and cached with every new media element that starts playing, and that could be the cause. However developers need to take a closer look.
    Feel free to check out the bug description and provide additional information if necessary.

  • How to restore system RAM memory when i run DI batch job process

    How to restore system RAM memory when i run DI batch job process
    I use SAP-B12005SP53 and i develop with Business Partner Object

    HI ALL
    TAKE CARE: Nothing was working in VB6, but in .NET it sets the default value !
    from help of VS.
    When you assign Nothing to an object variable, it no longer refers to any object instance. If the variable had previously referred to an instance, setting it to Nothing does not terminate the instance itself. The instance is terminated, and the memory and system resources associated with it are released, only after the garbage collector (GC) detects that there are no active references remaining.
    Garbage Collector distroyes the objects at the end of the sub of function, not in the loop.
    So use local variables when you loading the 7000 items. For me working fine and i do not have a memory problems. I am loading 50000 items with prices from EDI file, and memory usage stops at 120MB.
    1st solution  create a sub or a function to populate the data, and run this for every items by as single rutin,
      sub x
        Dim obj As New Object()
            Try
    ... put here your update code
            Catch ex As Exception
            Finally
                GC.Collect()
            End Try
      end sub
    This free up the memory when Garbage
    2nd solution: use inner loop definition
      sub x
    Try
                Do While True
                    Dim obj As New Object()
                Loop
            Catch ex As Exception
            Finally
                GC.Collect()
            End Try
      end sub
    This free up the memory inside the loop.
    I recommend to use Friend Class keyword for your addon declaration and do not use modules.
    Modules and shared classes will be free up the memory when your program terminates execution.
    For more information see MSDN help http://msdn.microsoft.com/en-us/library/7ee5a7s1(VS.80).aspx
    and http://msdn.microsoft.com/en-us/library/0x9tb07z(VS.80).aspx
    Regards,
    J
    Edited by: János Nagy on Oct 15, 2009 2:17 PM

  • High RAM usage when system is 'idle' (EtreCheck)

    Hey guys,
    First timer here. Ok here's my question :
    I recently bought a secondhand Macbook pro 15 inch. For me it's a huge upgrade coming from a 2009 13 inch Macbook pro. Because a friend of mine wants to buy my old one I was doing some diagnostics on the 13 inch, which has 4 GB of RAM, and found out it had a lot of inactive RAM usage and wired usage, almost 2 GB, due to a lot of launchdaemons etc which were hogging the RAM. I used terminal to kill these agents and deamons and now that system is running smooth again. Maybe it's wise to mention that the 13 inch runs on ML.
    3 days ago I did a clean Yosemite install on the 15 inch, swapped the HDD for a SSD. And already the activity monitor shows a whopping 4,28 GB of RAM usage while I'm typing this with just safari open. I thought I could do the same trick as I did with my 13 inch but it didn't help, had some java deamons and helpers and deleted those. In terminal I looked up everything via launchctl list and there's nothing unusual going on as far as I can see. I had VirtualBox for one day but uninstalled it using their uninstaller. I have no clue what's eating all this RAM.  Please help me out so I can be a proud owner of my second macbook for atleast 5 years to come. Thanks in advance.
    EtreCheck version: 2.1.8 (121)
    Report generated 15 februari 2015 08:45:30 CET
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Hardware Information: ℹ️
        MacBook Pro (15-inch, Mid 2012) (Technical Specifications)
        MacBook Pro - model: MacBookPro9,1
        1 2.6 GHz Intel Core i7 CPU: 4-core
        8 GB RAM Upgradeable
            BANK 0/DIMM0
                4 GB DDR3 1600 MHz ok
            BANK 1/DIMM0
                4 GB DDR3 1600 MHz ok
        Bluetooth: Good - Handoff/Airdrop2 supported
        Wireless:  en1: 802.11 a/b/g/n
        Battery Health: Normal - Cycle count 685
    Video Information: ℹ️
        Intel HD Graphics 4000
            Color LCD 1680 x 1050
        NVIDIA GeForce GT 650M - VRAM: 1024 MB
    System Software: ℹ️
        OS X 10.10.2 (14C109) - Time since boot: 0:52:24
    Disk Information: ℹ️
        Samsung SSD 840 EVO 500GB disk0 : (500,11 GB)
            EFI (disk0s1) <not mounted> : 210 MB
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
            Macintosh HD (disk1) / : 498.88 GB (457.96 GB free)
                Core Storage: disk0s2 499.25 GB Online
        HL-DT-ST DVDRW  GS31N 
    USB Information: ℹ️
        Apple Inc. FaceTime HD Camera (Built-in)
        Apple Computer, Inc. IR Receiver
        Apple Inc. Apple Internal Keyboard / Trackpad
        Apple Inc. BRCM20702 Hub
            Apple Inc. Bluetooth USB Host Controller
    Firewire Information: ℹ️
        Iomega eGo HDD 800mbit - 800mbit max
            disk2s1 (disk2s1) <not mounted> : 32 KB
            disk2s2 (disk2s2) <not mounted> : 29 KB
            disk2s3 (disk2s3) <not mounted> : 29 KB
            disk2s4 (disk2s4) <not mounted> : 29 KB
            disk2s5 (disk2s5) <not mounted> : 29 KB
            disk2s6 (disk2s6) <not mounted> : 262 KB
            disk2s7 (disk2s7) <not mounted> : 262 KB
            disk2s8 (disk2s8) <not mounted> : 262 KB
            Iomega_HDD (disk2s10) /Volumes/Iomega_HDD : 319.94 GB (30.10 GB free)
    Thunderbolt Information: ℹ️
        Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    Launch Agents: ℹ️
        [unknown]    com.oracle.java.Java-Updater 06.40.36.plist [Click for support]
    Launch Daemons: ℹ️
        [loaded]    com.adobe.fpsaud.plist [Click for support]
        [unknown]    com.oracle.java.Helper-Tool 07.05.30.plist [Click for support]
    User Login Items: ℹ️
        iTunesHelper    Programma  (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
    Internet Plug-ins: ℹ️
        FlashPlayer-10.6: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        Flash Player: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        QuickTime Plugin: Version: 7.7.3
        JavaAppletPlugin: Version: Java 8 Update 31 Check version
        Default Browser: Version: 600 - SDK 10.10
    3rd Party Preference Panes: ℹ️
        Flash Player  [Click for support]
        Java  [Click for support]
    Time Machine: ℹ️
        Time Machine not configured!
    Top Processes by CPU: ℹ️
             4%    WindowServer
             1%    fontd
             0%    sysmond
             0%    AppleSpell
             0%    notifyd
    Top Processes by Memory: ℹ️
        198 MB    com.apple.WebKit.WebContent
        172 MB    Safari
        94 MB    mds_stores
        86 MB    WindowServer
        43 MB    Dock
    Virtual Memory Information: ℹ️
        4.07 GB    Free RAM
        2.79 GB    Active RAM
        816 MB    Inactive RAM
        904 MB    Wired RAM
        1.25 GB    Page-ins
        0 B    Page-outs
    Diagnostics Information: ℹ️
        Feb 15, 2015, 07:53:01 AM    Self test - passed
        Feb 12, 2015, 09:53:18 AM    /Users/[redacted]/Library/Logs/DiagnosticReports/Live_2015-02-12-095318_[redact ed].crash

    This machine has not run out of RAM.
    Virtual Memory Information: ℹ️
        4.07 GB    Free RAM
        2.79 GB    Active RAM
        816 MB    Inactive RAM
        904 MB    Wired RAM
        1.25 GB    Page-ins
        0 B    Page-outs
    The page outs indicate the OS has not recently swapped any memory to disk.
    Apple made changes to 10.9 that are the same on 10.10. Memory will be used as much as possible. It is the fastest storage on the system, keeping it free is a waste of your time - data loads fastest from RAM.
    This is a good explanation…
    http://arstechnica.com/apple/2013/10/os-x-10-9/17/#compressed-memory
    The system also frees 'cache' memory when another process has more need to use it. Eventually it will swap to disk (which is slow) so the OS also compresses memory before swapping is needed.
    Please avoid killing launchd jobs, many will simply restart or relaunch again later. Eventually you may kill one that hangs the OS & corrupts the disk via a forced shutdown.
    I do suspect you may see issues when RAM does get low, but there is no evidence of that here. The memory pressure graph will show red when swapping - every other colour is fine. Wait until you see red & then note the top memory users.
    If you don't want java installed you need to find removal instructions & get it all off the system, simply stopping the update checks will leave Java in an old state - terrible for security.
    Also do you know what 'Live' is? It crashed recently, if it keeps doing that it may be worth a look, however it may just be one if the things that was effects by the killing spree

  • Will adding more RAM reduce system overloads?

    I'm running Logic Express 8 on a mac mini (core 2 duo) with 2GB or ram. I was thinking of adding more RAM (4 or 8GB). I tend to see "system overload" errors often. Generally, rebooting seems to fix the issues. Do you think adding more RAM would make any difference? Generally I have maybe 15-20 tracks.
    Thanks

    No, unless the overload has to do with RAM, which it ususally hasn't.
    Nevertheless, adding RAM is a very good idea to help instruments with high RAM requirements like EXS24.
    To reduce system overload:
    - let Logic be the only open application
    - if necessary, raise the audio buffer in the preferences to the next higher value.
    - while playing back, have an empty audio track (or the master track) selected.
    Fox

  • How to reduce the size of SYSTEM tablespace?

    * Solaris
    * Oracle 9.2.0.4.0
    * Locally managed database (since SYSTEM is locally managed TS)
    I have a Oracle 9i database with is around 7 months old. Over the 7 months it had around 400 schema’s at most and SYSTEM tablespace was increased to 850MB. Now it only has around 120 schema’s and size of the SYSTEM tablespace still 850MB and it’s 99% used.
    How can I get more free space on system tablespace?
    * I have made sure that non-sys(tem) user don’t have objects on SYSTEM tablespace.
    * I understand that dropping schema does not give you all the space back, since objects are store as row in System tables etc.
    Increasing disk is not an option for me. Any tips to free space on system welcome.
    Thanks,
    Nazrul Islam

    Thanks Joel Pérez for trying to help.
    SQL> select segment_name, owner from
    dba_segments
    where owner not in
    ('SYS','SYSTEM','OUTLN','MDSYS','ORDSYS','WMSYS')
    and
    TABLESPACE_NAME='SYSTEM';
    SEGMENT_NAME                   OWNER
    TOAD_PLAN_SQL                  TOAD
    TOAD_PLAN_TABLE                TOAD
    PLSQL_PROFILER_RUNS            TOAD
    PLSQL_PROFILER_UNITS           TOAD
    PLSQL_PROFILER_DATA            TOAD
    TPSQL_IDX                      TOAD
    TPTBL_IDX                      TOAD
    SYS_C006895561                 TOAD
    SYS_C006895563                 TOAD
    SYS_C006895566                 TOAD
    10 rows selected.
    SQL> select owner from dba_segments where
    tablespace_name='SYSTEM'
    group by owner;
    OWNER
    OUTLN
    SYS
    SYSTEM
    TOAD
    WMSYSHere is my query (to show TOAD is taking very little
    space):r.- That is true, the space used by TOAD is little
    >
    SQL> select owner, SUM(bytes)/1048576 AS "TOTAL
    (MB)"
    from dba_segments
    where tablespace_name = 'SYSTEM'
    group by owner order by "TOTAL (MB)" desc;
    OWNER                 TOTAL (MB)
    SYS                     820.4375
    SYSTEM                      20.5
    WMSYS                     3.6875
    TOAD                       .6875
    OUTLN                       .375Looks like, I have to grow system. Or since I have a
    fixed number of schema now, I think I will have to
    recreate a DB to reduce SYSTEM size.
    Joel one other info that might explain why
    this happening. Part of our build process is to drop
    4 schemas and roles and recreate them.
    e.g.
    drop user nislam cascade;
    create user nislam ....And we do many builds a day. Maybe Oracle uses more
    space in doing that since new userid, better might be
    drop objects from the schema. WHAT do you
    say?
    r.- In theorical lines. Both must give the same results but... I would recommend you to carry out some intensive test about it in a test enviroment testing both methods to monitor the behavior of the growth of the tablespace system. As you said, perhaps dropping the user objects will get better results.
    >
    Regards,
    Nazrul IslamJoel Pérez
    http://otn.oracle.com/experts

  • How to reduce ~timeout on the integrated ITS System.

    Experts
    How to reduce the ~timeout on the integrated ITS System ?
    I want to maintain for compelte ITS not for individual ITS Objects
    Rgds

    Hi,
    Could you try increasing the parameter value icm/keep_alive_timeout. This should affect the complete ICF. We tried this for our CRM 6.0/7.0 systems where the CRM UI times out quickly.
    If anyone else has more ideas, please suggest.
    Regards,
    Srikishan

  • How to reduce data usage on ipad wifi only version.  consuming **** lot of data even on simple surfing of sites

    how to reduce data usage on ipad wifi only version.  consuming **** lot of data even on simple surfing of sites

    iPhone User Guide (For iOS 4.2 and 4.3 Software)

  • Pop up. reduce system load. how to?

    booting up as soon as firefox loads a pop up will state high cpu use and another pop up states "reduce system load" how do i do this?

    I'm still running Firefox 12, so if this is a new feature of Firefox 13, I am not familiar with it. It also doesn't sound like a standard Windows XP feature.
    It is possible that you accidentally installed some adware that tries to sell you a third party product. You may want to run some supplemental security scans. These two tools are highly regarded:
    Malwarebytes Anti-malware : http://www.malwarebytes.org/products/malwarebytes_free
    SUPERAntiSpyware : http://www.superantispyware.com/

  • System Settings/Ram

    Under the System Settings, what are the best settings for;
    Memory Usage
    Application
    Still Cache
    Thumbnail Cache
    Disk
    Ram............?
    1.5 gigs is all my computer supports.
    One last thing. Would it be best to run FCP under a new user name. Since I can't add more ram. Logging out of the Administrator (Me). So that what other garbage I have running in the Administrator account doesn't run, and frees up more ram/processor.
    I have read some post on this topic. But, seeing I can't add more ram. I'm asking for advice.

    Running the computer under another account won't really help your ram usage. Many of these are background processes that are owned by the Root. You can not kill them. Don't worry, they do not take up much ram and little cpu headroom. If there are processes that you initiated and you are interested in squeezing the machine to make every last CPU cycle or byte of RAM available, go through your user processes and kill anything that is not necessary - for example - a palm pilot background sync process.
    If you are curious, in Activity Monitor, set your display to Active Processes. You'd be surprised how few there are other than the apps you are currently working with.
    Also, while you are in Activity Monitor, you can get a grip on how the ram is being used by keeping an eye on Page In/Outs in System Memory. Don't worry about the Ins. The outs indicate that the ram is being overwhelmed and is swapping data out to the virtual memory (a file on your system drive). A zero here indicates the work is all being done in RAM with no page outs to VM.
    This does point out why it is important to not fill up your hard drive. The virtual memory file is invisible to you but can grow to multiple GB in size. When your disk fills with other junk, you reduce the head room for disk read/write operations but equally importantly, reduce the space for the virtual memory and this can cause a lock up aka frozen system.
    good luck.
    x

  • Where to see CPU and RAM usage in IPAD 1

    Hi:-)
    While i have Apps running , I would like to be able to see CPU and RAM in use..and ideas how/where?
    Thanks

    There are several apps in the app store that can show you cpu and ram usage of your device, e.g. "system info"

Maybe you are looking for