OutOfMemory / Physical vs Virutal Memory

This is likely the Dunce Question of the Day, but here goes.
I'm trying / attempting to performance benchmark a 3rd Party Java App, and getting OutOfMem errors. I have 2Gig of RAM, and have allocated 1.6 to the JVM via -Xmx1600MB . This app will blow off with an O-O-M error if I attempt to run very large files, and the app needs more than the 1.6 Gig (I guess).
My really dumb question is: why fence the JVM in at 1.6 Gig? Why can't it allocate any and all the memory it needs and let the OS manage it via virtual / swap paging?

This is likely the Dunce Question of the DayI don't think so.
why fence the JVM in at 1.6 Gig?1638 MB is the absolute maximum amount of memory you can allocate on windows. If you need loads of memory you want to look at using an AS/400 (iSeries) which defaults to *NOMAX which is around 240 GB (but you'll need deep pockets as 1 GB of RAM costs ~ $7,000) On Solaris 7 and Solaris 8 SPARC you can allocate around 4GB.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • Zfs cache vs. Physical and swap memory

    On Solaris 10: We are calculating the available physical and swap memories by using these
    @ system calls 'sysconf' and 'swapctl' with appropriate parameters.
    I don'tthink these system calls explicitly take the 'zfs cache' into account.
    Can you please confirm, Or do we have any other command set to include 'zfs cache pool' also.
    regards,
    -ashokM
    Edited by: aMohanty on Sep 8, 2009 3:24 AM

    Not exactly sure what you are asking - Total VM = Real RAM + swap. The ZFS arc (as well as the UFS cache) competes to get RAM, as does running processes and kernel memory allocation. The arc will not add anything to the Total VM amount.

  • Can't get the VM to use virutal memory

    Hi all,
    Here the configuration I'm running :
    - Debian 3.1
    - java 1.5.0_09
    - 1 Go of physical memory
    - 2,6 Go of virtual memory
    - ulimit : no limit
    I have a webapp deployed on Tomcat 5.5 wich I have to deploy several times on the same server. Guess what happens : I'm running short on memory. The physical memory usage climbs to 99% and then application doesn't want to do anything new ...
    I thought it was because of the default values for Xms and Xmx, so I changed them to this : -Xms256m -Xmx512m (keep in mind that this amount of memory is not available at the time I start the server, i only have 400Mo free). Unfortunatly, I get the same error (some sort of out of memory one) and same behaviour.
    My problem is : the JVM does NOT use the virtual memory at all !
    What have done wrong ? Any guess ?
    Thanks for your time,
    Jerome

    Real programs need real memory. You can run Java applicatons out of swap space, but since the heap isn't organized to be accessed from the swap space, the performance will be dreadful. Particularly the performance of the garbage collector, the first phase of which walks the object graph: essentially random accessing into the heap, probably causing a page fault for each reference in the heap. Not pleasant.
    When your server starts up with -Xmx512m we will reserve 512MB of swap space for the heap, plus a bunch of other space for thread stacks, libraries, and random other data structures the JVM needs. If you have 2,6GB of virtual memory, I would expect you to be able to start 4 instances of your server, but not 5. With only 1GB of physical memory, I wouldn't expect the performance to be acceptable once the second instance has started, if you are really using the 512MB in each heap. If you are using closer to the 256MB of initial heap, then the second instance should be fine, and maybe even the third instance. Reserving swap space is cheap. Actually using it for running applications is a performance disaster. You should be able to use something like vmstat(8) to monitor your physical memory usage and paging activity.
    P.S. -Xmx512m and -Xmx512M are the same. See http://12.101.252.19/hotspot/xref/src/share/vm/runtime/arguments.cpp#461 for the code that does this.
    P.P.S. You should continue to use -Xms if you know that your application will need at least 256MB of heap space. Otherwise we will slowly grow the heap as your application needs that memory, after full collections to try to keep the heap from growing.

  • Release Physical memory

    I am using Sigar dll for showing Physical memory...
    class Memory()
    ArrayList<HashMap> al=new ArrayList<HashMap>();
          public void EatMemory()
              while(!Stop)
                al.add(new HashMap());
              //Condition here
                  //  Stop=true;
    }and on button click event in the main form I create Memory object and call EatMemory() method
    Memory mem=new Memory();
    mem.EatMemory();and also I have a timer run method which shows physical and virtual memory of the system every second.
    Sigar s=new Sigar();
    Runtime r=Runtime.getRuntime();
    Mem m;
                public void run(){
                    try{
                        m=s.getMem();
                        long ActualUsed=m.getActualUsed()/1024;//in kilobytes
                        long ActualFree=m.getActualFree()/1024;//in kilobytes
                        long PhyTotal=m.getTotal()/1024;//in kilobytes
                        int perc=(int)m.getUsedPercent();
                        long VMTotal=r.totalMemory()/1024;
                        long VMFree=r.freeMemory()/1024;
                        long VMused=VMTotal-VMFree;
                        int vmperc=  (int)((new Double(VMused) / new Double(VMTotal))*100);
                        jlUsedMem.setText(String.valueOf(ActualUsed) );
                        jlFreeMem.setText(String.valueOf(ActualFree) );
                        jlTotalMem.setText(String.valueOf(PhyTotal) );
                        jlVMUsed.setText(String.valueOf(VMused));
                        jlVMFree.setText(String.valueOf(VMFree));
                        jlVMTotal.setText(String.valueOf(VMTotal));
                        jpbMemoryUsage.setValue(perc);
                        jpbaMemory.setValue(perc);
                        jpbVMMemoryUsage.setValue(vmperc);
                catch(Exception ex)
    }After EatMemory() method call Physical and Virtual memory increases and match the required condtion, when EatMemory() Method completes I call Runtime.getRuntime().gc() on another button event, after that Virtual Memory release memory but physical memory does not release memory. If I restart application then physical memory releases. How can it possible that like the way through which I release virtual memory, I am also release physical memory?

    Faisal_Ahmed wrote:
    need help...How are we supposed to know you didn't already get help somewhere else? Crossposting in several places makes people not help you in any of them.

  • How can one use the physical memory of our system rather than virtual memory while running Labview?

    We have a Windows NT system with 2 Gb of physical memory and would like to utilize the RAM fully using Labview. What usually occurs is that Labview uses a tremendous amount of page file space while a majority of the physical memory is unused. Is there a way to configure Labview (or our system) to overcome this problem? It seems that our processes would be much faster if they were mainly using the physical memory. Is it possible to trick the system, by creating a RAM disk and allocating this as virtual memory space?

    > We have a Windows NT system with 2 Gb of physical memory and would
    > like to utilize the RAM fully using Labview. What usually occurs is
    > that Labview uses a tremendous amount of page file space while a
    > majority of the physical memory is unused. Is there a way to
    > configure Labview (or our system) to overcome this problem? It seems
    > that our processes would be much faster if they were mainly using the
    > physical memory. Is it possible to trick the system, by creating a
    > RAM disk and allocating this as virtual memory space?
    LabVIEW the application doesn't know anything about physical versus
    virtual memory. LV asks the OS for general purpose memory and goes
    from there.
    Drivers like DAQ and IMAQ will have a combination of general user
    memory and page lo
    cked physical buffers.
    I'm not up on the details, but this is something that the OS is in
    control of, so that is where you need to look for the solution. One
    of the things to look at is the disk cache. By default, I think that
    NT takes a percentage of the RAM to use for disk cache. With that
    much RAM, this is probably unnecessary and is using too much.
    Similarly, the OS may be attempting to keep the working set size
    to a fraction of the total RAM to reserve space for other things.
    It doesn't make sense to me, but then I don't work for MS.
    Greg McKaskle

  • Physical Memory vs. Usage Memory Help

    I finished a new build using an MSI K9a Platinum MB. 
    I have a dual channel kit of mushkin 4GB (2GB x 2) DDR2 memory.  When I install both sticks the BIOS shows (under system information) 4096MB Physical Memory but Usage Memory is only at 2.5GB.
    If I take a stick out I get Physical and Usage Memory at 2048MB.
    When I first got the board the BIOS was version 1.4.  Windows XP 64 would not install with both sticks installed.  It would boot from CD and hang right after I installed my RAID drivers / before selecting a HD to install to (where it says 'Windows is now starting' after it loads the drivers).  Going to 1 stick / 2 GB solved this and windows installed fine.
    After installing windows, updated to service pack 2, and did all system updates/drivers I put in the other stick and Windows hung at the startup screen.
    I updated the BIOS to 1.5 and now windows will boot with both sticks but it only sees 2.5 GB, not all 4 GB.  CPU-Z shows that both sticks are installed and recognised correctly but I'm only able to get 2.5 GB in Windows XP 64.
    The BIOS recognises 4 GB are installed but will only let me use 2.5 GB.  Any clues as to why?
    Thanks!

    "After installing windows, updated to service pack 2, and did all system updates/drivers I put in the other stick and Windows hung at the startup screen.
    I updated the BIOS to 1.5 and now windows will boot with both sticks but it only sees 2.5 GB, not all 4 GB.  CPU-Z shows that both sticks are installed and recognised correctly but I'm only able to get 2.5 GB in Windows XP 64.
    The BIOS recognises 4 GB are installed but will only let me use 2.5 GB.  Any clues as to why?"
    suggest you new fresh OS installation XP x64 with SP2 included. also check the boot.ini ensure /PAE switch is there(should be there by default) ensure the PAE is active:

  • How solaris calculate virtual Memory ?

    Hi,
    I am using Solaris 10 on both sparc and x86 server.
    I am still unable to comprehend how solaris calculate Total Virtual Memory.
    We can check the Virtual Memory in system by SMC tool and by #swap -s command.
    swap -s
    total: 6071888k bytes allocated + 1010404k reserved = 7082292k used, 52134560k availableAbove output shows that total virtual memory is = 7082292k used, 52134560k available = 57829 MB
    Sun documents says that solaris calculate Virutal Memory by combining the available RAM with total swap space
    System swap is 32773 MB
    And availabe RAM righ now is 22506
    # vmstat 1 3
    kthr      memory            page            disk          faults      cpu
    r b w   swap  free  re  mf pi po fr de sr s2 -- -- --   in   sy   cs us sy id
    0 0 0 55999408 25906620 579 106 1410 2 2 0 0 69 0 0 0 3919 13684 6331 3  2 95
    1 0 0 52134492 23046320 9 56 0 0  0  0  0  4  0  0  0 1391 4097 2257  0  1 99
    0 0 0 52134372 23046196 0 6 0  0  0  0  0  5  0  0  0 1511 4367 2474  0  1 99So combining them becomes 55279 MB which is not the same as displaying by SMC and swap -s
    Does any body know how solaris exactly calculate the virtual memory which it indicates in SMC and swap -s ?

    If you look at the man page it shows for the -s flag:
    available The total swap space in
    bytes that is currently
    available for future reser-
    vation and allocation.
    That means if swap has been allocated it wont be shown in this total, Solaris has a funny way of dealing with memory, it will only free physical memory when it needs to reuse it. If you want to tell if a system is paging the best way is to use sar with the -g flag e.g
    sar -g 10 10
    Or iostat etc

  • Memory in Android devices

    To use Android devices efficiently, users should be aware of the different types of device memory. This knowledge is important in order to understand, for example, where music, photos and videos are saved; how many apps can be downloaded from Google Play™; and how photos can be copied to a PC.
    The below information is also of interest to developers who want to optimize their programs to make the best possible use of the resources in the device.
    Generally, all Android devices share the same basic memory setup. What differs is how much memory is available to you via the different types of memory, and whether your device uses an external SD card or an internal memory chip.
    Types of memory
    The types of memory described and numbered below are consistent with the terminology used in Sony mobile device menus and in other content relating to 2013 Xperia™ devices:
    1. Dynamic Memory (also known as RAM) is used by applications that run when the device is turned on. The amount of Dynamic Memory influences how many applications and operating system services can run at the same time. The Android operating system automatically closes applications and services that are not being used.
    However, such automatic functionality has limits. For example, if a lower amount of free RAM is available to applications after a new release of the operating system (due to increased capabilities in the system), device speed will eventually be impacted. This is the main reason that a device cannot be indefinitely upgraded to newer releases of Android™.
    If you experience problems with RAM, for example, if the device runs slower than usual or if the Home application restarts frequently when you leave an application, you should minimize the use of apps that run all the time. Such apps could include, for example, applications that frequently download social networking service updates. You could also consider using a static wallpaper instead of a live wallpaper.
    To see which apps and services are currently active, go to Settings > Applications > Running services. You should have at least 50 MB, and ideally 100 MB or more, of free RAM to avoid slowdowns and application restarts.
    You should also be aware that if you update the device to a later Android release, the load on the built-in Dynamic Memory will increase due to the addition of more features, as mentioned above. As a result, the device may run slower after an update.
    2. System Memory (also known as “System partition” or “/system”) is used for the Android OS and for most applications that are pre-loaded from the factory. This type of memory is normally locked, and can only be changed through a firmware upgrade. There is usually some free space available in this section of memory. However, since it is locked, you cannot save apps, photos or any other content to this memory. System Memory is reserved for future firmware upgrades, which almost always need more memory than the original firmware. You cannot see or influence the use of this memory.
    3. Internal Storage is memory used as” working” memory. It can be compared to the C: drive on a PC or to the startup disk on a Mac.
    This type of memory is used to store all application downloaded from the Google Play™ Store (and other sources) as well as their settings and data (such as emails, messages and calendar events, for example). All applications have an allocated area which no other applications can access and where
    the application data can be stored.
    Some game applications also store content such as game music and game level information outside their own designated area. In most cases, an application can choose to save its data in a location of its own choosing (outside the protected application settings area). Generally, such content is not deleted when an application is uninstalled; it must be removed manually by connecting the device to a computer with a USB cable, or by using a file manager application.
    Internal Storage is also used for all user content added, for example, as a result of the user taking photos with the camera, downloading media files, and performing file transfers. Typical user content includes:
    • photos
    • movies
    • music
    • downloaded documents (as email attachments, for example)
    Internal Storage will tend to fill up as a result of normal usage. Examples of such usage are the saving of data by applications; the downloading and installation of new applications; the downloading of free or paid content; and the shooting of pictures and movies. Therefore, the larger this memory is from the start, the more applications you can download and use, and the more pictures and movies you can shoot.
    If the Internal Storage starts to get full, the device slows down, and in some cases it might no longer be possible to install more apps. You should always ensure that you have at least 100 MB of free Internal Storage. If not, you should consider removing some apps that you seldom use, or move content that you do not frequently access to safe storage.
    You can see approximately how much Internal Storage is free in Settings > Storage >Internal Storage. You can also view more detail about how much memory is used by applications in Settings > Applications.
    Please note that in Sony Mobile 2013 products, “Internal Storage” is now the combination of what was previously known as “Device Memory” or “Phone Memory” (for applications and their data – also previously known as “/data”) and “Internal Storage” (for user’s content – also previously known as “/ sdcard”). The reason for this change is to make the use of available memory more flexible, and also to enable the optional encryption of user’s content.
    Memory card slot
    In some products you may find both a large internal memory and a memory card reader slot. However, on the current Android platform, the card reader slot does not work in the same manner in a device with a large internal memory as it does in a device with ONLY a memory card slot.
    Generally, since most applications expect only a single location for storage, such applications will not generally allow you to SAVE anything to the memory card (i.e., they do not offer the option to choose a storage location). However, some applications (for instance, the Sony Mobile “Camera” application) may actually allow you to do so. Other applications, for example, backup applications such as the Sony Mobile “Memory” application, will by definition be configured to copy content from the Internal Storage to the external SD card.
    On the other hand, when it comes to reading from an external SD Card, you will be able to access content (for example, videos, photos and music) on a memory card inserted in this slot without any special consideration since the Android system searches all available memory for content. Therefore, such products may be regarded as supporting a fourth type of memory, called “External Card” or “SD Card”.
    4. SD Card (known as “/ext_card” from a programmer’s point of view, or by other names in other Android products) is the name for the removable SD memory card in all 2013 Sony Mobile products. As described above, this External Card memory is generally more limited in that any application can read from it, but many applications cannot save to this card. Only a few applications, including backup applications and file manger applications, have the capability to save to this card.
    Backing up data to different memory types
    Generally, you should not save photos, videos and other personal content solely on the internal memory of a device. If something should happen with the hardware, or if the device is lost or stolen, the data stored on the device’s internal memory is gone forever.
    In a device where an SD card reader is the main memory, it is relatively easy to take the card out and copy all content to a PC or Mac, or to an entertainment device with a memory card slot. In a product featuring Internal Storage as the main memory, it is not possible to physically remove the memory. Instead, any critical or high-value content must either be copied to an external SD card by a special backup application, transferred to remote storage over a network (mobile or Wi-Fi), or to a computer via a USB cable.
    To facilitate the transfer of data via a cable, the Xperia™ phone supports the Microsoft standard, Media Transfer Protocol (MTP), which makes it possible to easily transfer content back and forth between your device and a Windows PC. For Apple Mac computers, a special application called Sony Bridge for Mac is available with built-in support for MTP. This application can be downloaded from the
    Support page.
    Note that you do not need to back up or make a copy of applications that you have downloaded from the Google Play™ Store. They can normally be downloaded again after you have set up your Google account to work in a new device (or in a device where the memory has been completely erased).
    Note 1:
    As noted above, some Android devices, including Sony Mobile devices from 2012 and Sony Ericsson devices from 2011 and earlier, do not use a single “Internal Storage” for both applications (and their data) and user content. Instead, these devices use either an external SD card for user content, or a corresponding area of internal memory to reproduce the functionality of an SD card. In such devices, there is a fixed limit between the application area (“/data”) and the user content area (“/sdcard”), with the result that user content can build up and reach this limit. The consequence of such a limit being reached, for example, for the camera application, would be that no new pictures could be taken even if there was still a considerable amount of free space in the application area (or in the user content area). In such an instance, the download and installation of new applications would also not be possible, even if there was enough free memory in the content area.
    Note 2:
    Some devices with integrated storage have abandoned the distinction between the application area and the content area when it comes to a Factory Data Reset. As a result, there is no option in such devices to perform a Factory Data Reset and preserve content. In such devices, all content is mandatorily and completely deleted from the device when a reset is performed.
    In contrast, Sony Mobile’s memory integration solution makes it possible to preserve user content in this situation. Therefore, when performing a Factory Data Reset, the default action will still be to only remove applications and their data, and an option box must be checked if all content is to be removed as well (as might be desirable when selling the device second-hand, for instance).
    Note 3:
    For a developer, it is important to note that from a programming point of view the location names used to refer to the different memory areas described in Note 1 are still valid, i.e., the area used for applications (“/data”) is still present, as is the area used for content (“/sdcard”).
    In reality, “sdcard” is a so-called “symbolic link” to “/data/media”. However, from inside an Android application, “/sdcard” can still be used. For example, you can use “sdcard/DCIM/100Android” to find all camera images. The continued use of “/sdcard” to access the content area ensures compatibility across different products and Android releases in this regard.
     - Community Manager Sony Xperia Support Forum
    If you're new to our forums make sure that you have read our Discussion guidelines.
    If you want to get in touch with the local support team for your country please visit our contact page.

    Are you perhaps zipping the custom storefront incorrectly? Make sure when you zip up the files that you have them all loose at the top level of the zip file. They can't be inside a folder in the zip file.
    The custom store from DPS Configurator, if you upload it to App Builder directly without unzipping it, should work without error.
    Where are you seeing lacking documentation for Android? Bob spent a great deal of time documenting the new Android viewer, and all of our SDK documentation for custom storefront also has complete details about which APIs are supported on the platform.
    Neil

  • Memory problems (/questions/967643)

    Some basics
    Firefox 30
    Windows XP SP3
    Technical level
    I am a software developer but have no experience building or debugging firefox or any of the other mozilla products. I am willing to provide debug information as needed. I also have a background in QA and testing so I am not afraid to roll up my sleeves and help iron out some of these issues if given some guidance on how to proceed.
    Troubleshooting Information:
    I have the Troubleshooter installed but don't see the data.
    I also can't see the educated guesses about the current browser and operating system when I click the "See the data" and "Show details" links. I generally browse always in private mode. I have attached a list of addons at the bottom just in case.
    Firefox seems to leak both memory and virtual memory during routine web surfing. By Routine, I am doing the following:
    1. Opening Gmail and reading all my mail. After I am done, I close the tab. I probably go through 100-200 emails at a time.
    2. Go to Google News and read some stories. I will share some of them using the Buffer This Page addon. I will close the tab when I am done.
    3. Go to Slashdot and read all the days stories. I will close the tab when I am done.
    4. Maybe go to facebook or twitter and catch up on some updates. I will close the tab when I am done.
    After that, depending on how long I leave firefox open with no activity, it will just continue to use the same amount of physical and virtual memory as it was using at peak. It is almost like it keeps requesting resources and never frees them until I completely close firefox and sometimes kill the firefox.exe process in Windows Task Manager.
    As a point of reference, after doing the above tasks and trying to research this issue by checking about:addons-memory (which currently shows about 100 MB of known memory usage) as well as researching this support site, I am up to almost 600 MB. Some days, it will exhaust all my systems physical and virtual memory until it starts paging. As a result, I keep firefox closed as soon as I am done using it. I use other apps to check email and only use firefox for very short periods of time.
    The following are the current addons I see installed and enabled:
    about:addons-memory 8
    ActiveInbox for Gmail and Google Apps 5.0.12
    Adblock Plus 2.6.3
    Bitdefender QuickScan 0.9.9.119
    Buffer for Firefox 2.6.0
    DoNotTrackMe: Online Privacy Protection 3.2.1113
    DownThemAll! 2.0.17
    DownThemAll! AntiContainer 1.3
    HTTPS-Everywhere 3.5.3
    IE Tab 2(FF 3.6+) 5.12.12.1
    Launchy 4.4.0
    Linky 3.0.0
    Neo Diggler 1.0.6
    NoScript 2.6.8.33
    Rapportive 1.4.0.1
    Troubleshooter 1.1a
    YouTube Video and Audio Downloader 0.3.6.2
    The folloiwng are disabled:
    Privacy Badger Firefox 0.1.4
    ThinkVantage Password Manager 2.0

    I admire you for being willing to get your hands dirty, I will pull out the profiler and memory bug instructions:
    *this will tell you more about the about:memory page: [https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsIMemoryReporter]
    *Memory leak tools [https://wiki.mozilla.org/Performance:Leak_Tools](not sure how old that is)
    *[https://wiki.mozilla.org/Platform/Memory_Reporting]
    Also the Telementary data sent on the browsers can help improve the performance. There are also automated tests done to check performance of different platforms.
    If you are interested in providing a website example this could help create a bug. With the websites you tested/mentioned in your description, there are have these tools to test the performance of the profile as well: This will test the javascript engine on desktop: [https://developer.mozilla.org/en-US/docs/Mozilla/Performance/Reporting_a_Performance_Problem]
    There is also DTrace that can help optimize development on javascript pages [https://wiki.mozilla.org/Performance/Optimizing_JavaScript_with_DTrace#Tips]
    I understand that add on memory is assumed to only measure: " about 100 MB of known memory usage) as well as researching this support site, I am up to almost 600 MB" - Another troubleshooting step for running Firefox without addons is Safe Mode, does the memory stay high without them as well?
    The troubleshooting info will be in the link in the right column of this question's page. "More System Details" is the title.
    What is the webGlRenderer message? "TrynewDriver"
    Also I invite you to get involved in QA if you have some free time. The contacts page for Firefox Desktop is: [https://wiki.mozilla.org/QA/Desktop_Firefox/GetInvolved Desktop_Firefox Get involved] :-)

  • Syncing to 30GB Video Ipod causes windows to physical dump

    That's pretty much my problem. On my laptop(windows XP), I start to sync or even if I manually drag multiple songs onto my Ipod it starts doing it. Then about 5 or 10 songs in I get the dreaded blue Physical dump of memory screen. I've tried restoring my Ipod and that didn't work.
    So I tried getting songs from my desktop computer(Windows XP also) and the same exact thing happens. It's so frustrating. I'm wondering if it's a problem with the Ipod itself or iTunes or Windows. Any advice would be GREATLY appreciated.
    Thanks

    See if this troubleshooting page helps: iTunes displays a -69 error when syncing iPod

  • SQL Server Performance Issue in Memory

    Dear All
    Can you please help me out of this below issue.
    My Server having : Windows 2012 SD 64 bit
    SQL : SQL 2008 R2 64 bit SP1 
    Memory : 64 GB
    SQL Min Memory : 45 GB and Max memory : 55 GB so remaining 9 GB available
    but my sql server any time shows 94% memory utilization. i have checked below points
    Physical Memory_MB                      Physical Memory_GB                      Virtual Memory GB
    65536                                   64                                      8192
    Buffer Pool Usage at the Moment
    BPool_Committed_MB                      BPool_Commit_Tgt_MB                     BPool_Visible_MB
    56320.000000                            56320.000000                            56320.000000
    Total Memory used by SQL Server Buffer Pool as reported by Perfmon counters
    Mem_KB               Mem_MB                                  Mem_GB
    57671680             56320.000000                            55.000000000
    Memory needed as per current Workload for SQL Server instance
    Mem_KB               Mem_MB                                  Mem_GB
    57671680             56320.000000                            55.000000000
    Total amount of dynamic memory the server is using for maintaining connections
    Mem_KB               Mem_MB                                  Mem_GB
    912                  0.890625                                0.000869750
    Total amount of dynamic memory the server is using for locks
    Mem_KB               Mem_MB                                  Mem_GB
    40296                39.351562                               0.038429260
    Total amount of dynamic memory the server is using for the dynamic SQL cache
    Mem_KB               Mem_MB                                  Mem_GB
    2056                 2.007812                                0.001960754
    Total amount of dynamic memory the server is using for query optimization
    Mem_KB               Mem_MB                                  Mem_GB
    2880                 2.812500                                0.002746582
    Total amount of dynamic memory used for hash, sort and create index operations.
    Mem_KB               Mem_MB                                  Mem_GB
    0                    0.000000                                0.000000000
    Total Amount of memory consumed by cursors
    Mem_KB               Mem_MB                                  Mem_GB
    28464                27.796875                               0.027145385
    Number of pages in the buffer pool (includes database, free, and stolen).
    8KB_Pages            Pages_in_KB                             Pages_in_MB
    7208960              57671680.000000                         56320.000000000
    Number of Data pages in the buffer pool
    8KB_Pages            Pages_in_KB                             Pages_in_MB
    6710944              53687552.000000                         52429.250000000
    Number of Free pages in the buffer pool
    8KB_Pages            Pages_in_KB                             Pages_in_MB
    234598               1876784.000000                          1832.796875000
    Number of Reserved pages in the buffer pool
    8KB_Pages            Pages_in_KB                             Pages_in_MB
    0                    0.000000                                0.000000000
    Number of Stolen pages in the buffer pool
    8KB_Pages            Pages_in_KB                             Pages_in_MB
    263418               2107344.000000                          2057.953125000
    Number of Plan Cache pages in the buffer pool
    8KB_Pages            Pages_in_KB                             Pages_in_MB
    135772               1086176.000000                          1060.718750000
    Page Life Expectancy - Number of seconds a page will stay in the buffer pool without references
    Page Life in seconds PLE Status
    111450               PLE is Healthy
    Number of requests per second that had to wait for a free page
    Free list stalls/sec
    373
    Number of pages flushed to disk/sec by a checkpoint or other operation that require all dirty pages to be flushed
    Checkpoint pages/sec
    8052165
    Number of buffers written per second by the buffer manager"s lazy writer
    Lazy writes/sec
    1247
    Total number of processes waiting for a workspace memory grant
    Memory Grants Pending
    0
    Total number of processes that have successfully acquired a workspace memory grant
    Memory Grants Outstanding
    0
    My User asking how much sql transaction takes out off 55 GB , and each transaction how much takes, how to find sql healthy and sql needs how much memory. 
    Thanks
    Mohamed Udhuman

    Issue i mentioned here, Memory bottleneck is available or not , how to avoid sql buffer pool takes more memory means.
    Thanks
    Mohamed Udhuman
    Hello,
    Your output you posted does not makes sense or may be I am not able to understand it..If you want through analysis I need following from you
    1.
    select
    (physical_memory_in_use_kb/1024)Memory_usedby_Sqlserver_MB,
    (locked_page_allocations_kb/1024 )Locked_pages_used_Sqlserver_MB,
    (total_virtual_address_space_kb/1024 )Total_VAS_in_MB,
    process_physical_memory_low,
    process_virtual_memory_low
    from sys. dm_os_process_memory
    2 What is reason for keeping Max server memory and Min server mmory almost equal. 55 G is MAX and 45 G is min.
    3. Does SQL server account has locked pages in memory privilege ?
    4. Did you see any out of memory error ?
    5 Please post output of DBCC MEMORYSTATUS and SP_readerrorlog on skydrive and post location here.
    PS: SQL server utilizing memory is normal behavior ,what you posted does not exactly points to memory pressure and what seems to me cause here is poorly written queries running.
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers
    My TechNet Wiki Articles

  • Startup disk memory full

    I am getting a message saying that my startup disk is almost full so the file I'm trying to save cannot be saved.
    The weird thing is that I am trying to save a 2MB file and I have still 94GB of free space in my startup disk!!!
    Does anyone know what could be happening here?
    Thanks,
    Cantautor

    Scan your drive with WhatSize once and see if you can see what's eating up your disk space.
    http://www.id-design.com/Software/WhatSize/
    Pay attention to these files:
    /private/var/vm
    /private/var/log
    /Volumes
    The /private/var/vm directory contains the swapfiles used by virutal memory. New ones are made as more data is swapped from RAM to the hard drive. The entire process of creating them begins at each reboot or restart. Check the total size of all the swapfiles, right after you boot, and as the disk fills up. Swapfiles are used by virtual memory. The first two are 64MB, then each new one is twice the size of the preceeding one (128MB, 256MB, 512MB...).
    If you do not run the daily, weekly, and monthly maintenance routines (either by using a utility, or by running the commands sudo perioidic daily, sudo perioidc weekly, and sudo periodic monthly in Terminal), you will accumulate too many logs. If an error is occurring frequently and is being logged, you can have a very large file at /private/var/log/system.log. I recently saw mention of a system.log file that was larger than 40 GB.
    -Bmer
    Mac Owners Support Group
    Join Us @ MacOSG.com
    IiTunes: MacOSG Podcast
     An Apple User Group 
    Note: I receive no compensation for product endorsements.

  • Memory details

    Could any one explain about the Memory usage details attached here
    What is Inactive Memory?
    What is wired Memory?
    what is Used Memory
    How to increase the Memory
    I'm using MacBook Pro, Mac OS X 10.8.4

    This article explains what the different categories of memory usage are:
    Using Activity Monitor to read System Memory and determine how ...
    To "increase the Memory" you either have to quit applications, thereby making more memory free, or you have to physically add more memory (RAM) to your computer, if it is possible. Have an authorized service person give you a quote on that.
    charllie

  • Out of Memory error end erratic behavior

    Brief description of the issue: while importing images at their current location, some of them would show in grid view with an exclamation mark, and LR would not allow me to adjust them. Removing and importing the same set of images again, the subset of troubled images changed. At some stage, trying to develop one of the images, I got an "Out of Memory" written in red in the center pane. PS CS opens the same images without any problem, and Windows Task Manager indicates there is plenty of available physical and virtual memory.
    Here what I did in detail.
    While I was importing images at their current location into the library from DVDs, I started to see en exclamation mark in the upper right corner of several images in the grid view. When I selected any of those images and hit "D" to develop them, I got "An unknown error occurred" in the Develop module, and LR would not allow me to do any adjustment.
    I have tried removing the images from the Library and importing them again, and then some of the troubled images were not the same as before, and LR would allow me to develop some of the previously troubled images.
    PS CS File Browser shows them all correctly, and also PS can open any of the images without any issue.
    I have copied some of the troubled images to my hard disk, and then tried to import them into LR from there. The same image sometimes worked, sometimes didn't. Finally, when trying to develop one of those, I got an "Out of Memory" error message printed in red and upside down in the middle of the picture.
    Windows Task Manager was reporting 833824 KB of Available Physical Memory out of 2095536 KB, and was reporting as Commit Charge: Total 1281084 KB, Limit 5080272 KB, Peak 1707720 KB.
    Any idea what is going on? It looks to me like instability after I imported a few hundred pictures in a row.

    You are ABSOLUTELY right that I had explorer windows open when I got the export failed messages!!!! I do all my printing at costco, so I have Lr export my final pics to a 'jpeg finals' directory, and then individual sub-directories for each folder they came from, and then manually copy from each of these sub directories to the root directory on my CF card for transport to Costco.
    Will see if it happens in the future without that window open. Still wouldnt help the upside down OOM messages, tho thanks for the update that the team is working on it.
    These two issues and the UI lag are really all that I can ***** about too much, which is pretty amazing given my beta frustrations. I still wish I wasnt locked to the DB. I still cannot in good conscience recommend Lr to most new DSLR users. But for my own use I'm pretty happy. I wish I could get better highlight and shadow recovery like I got in RSP but I'm sure that is user error and n00bishness more than a failure of the app. I'm also not happy that I can't toggle the crop tool to the way I want to work permanently but I guess that ship has sailed too.

  • Kernal_Task taking up too much memory

    Okay, let me just start by saying that I do usually game on my mac, anyway,
    I was able to play fine and do everything without any frustration but everything changed when the Yosemite nation attacked, after I installed Yosemite I was not able to play any games on steam, it would either get into the game for a bit then crashing completely or just crash as soon as the game tries to launch. I speak of the mac itself and not just the game. Like for example, I am not able to use the keyboard as indicated by the lights going off, and am not able to force quit anything, everything just freezes (with music and sounds still playing) and I am unable to do anything besides hold down the power button to turn off my laptop then turn it on again. After some research I found out that it was a problem with my RAM so I open the Activity Monitor to check out what it was that used up my ram, and to my surprise it was this thing called "kernel_task" which was using up at least 650 MBs of Memory. I have 8 GBs of physical and Virtual memory. How do I relieve the amount of memory this uses up so I can actually do something without my Mac crashing? Also, it says that 7.02 some GBs of memory is being used.

    1. This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve the problem. But with the aid of the test results, the solution may take a few minutes, instead of hours or days.
    Don't be put off by the complexity of these instructions. The process is much less complicated than the description. You do harder tasks with the computer all the time.
    2. If you don't already have a current backup, back up all data before doing anything else. The backup is necessary on general principle, not because of anything in the test procedure. Backup is always a must, and when you're having any kind of trouble with the computer, you may be at higher than usual risk of losing data, whether you follow these instructions or not.
    There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    3. Below are instructions to run a UNIX shell script, a type of program. As I wrote above, it changes nothing. It doesn't send or receive any data on the network. All it does is to generate a human-readable report on the state of the computer. That report goes nowhere unless you choose to share it. If you prefer, you can act on it yourself without disclosing the contents to me or anyone else.
    You should be wondering whether you can believe me, and whether it's safe to run a program at the behest of a stranger. In general, no, it's not safe and I don't encourage it.
    In this case, however, there are a couple of ways for you to decide whether the program is safe without having to trust me. First, you can read it. Unlike an application that you download and click to run, it's transparent, so anyone with the necessary skill can verify what it does.
    You may not be able to understand the script yourself. But variations of the script have been posted on this website thousands of times over a period of years. The site is hosted by Apple, which does not allow it to be used to distribute harmful software. Any one of the millions of registered users could have read the script and raised the alarm if it was harmful. Then I would not be here now and you would not be reading this message.
    Nevertheless, if you can't satisfy yourself that these instructions are safe, don't follow them. Ask for other options.
    4. Here's a summary of what you need to do, if you choose to proceed:
    ☞ Copy a line of text in this window to the Clipboard.
    ☞ Paste into the window of another application.
    ☞ Wait for the test to run. It usually takes a few minutes.
    ☞ Paste the results, which will have been copied automatically, back into a reply on this page.
    The sequence is: copy, paste, wait, paste again. You don't need to copy a second time. Details follow.
    5. You may have started the computer in "safe" mode. Preferably, these steps should be taken in “normal” mode, under the conditions in which the problem is reproduced. If the system is now in safe mode and works well enough in normal mode to run the test, restart as usual. If you can only test in safe mode, do that.
    6. If you have more than one user, and the one affected by the problem is not an administrator, then please run the test twice: once while logged in as the affected user, and once as an administrator. The results may be different. The user that is created automatically on a new computer when you start it for the first time is an administrator. If you can't log in as an administrator, test as the affected user. Most personal Macs have only one user, and in that case this section doesn’t apply. Don't log in as root.
    7. The script is a single long line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, though you may not see all of it in the browser window, and you can then copy it. If you try to select the line by dragging across the part you can see, you won't get all of it.
    Triple-click anywhere in the line of text below on this page to select it:
    PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/libexec;clear;cd;p=(Software Hardware Memory Diagnostics Power FireWire Thunderbolt USB Fonts SerialATA 4 1000 25 5120 KiB/s 1024 85 \\b%% 20480 1 MB/s 25000 ports ' com.clark.\* \*dropbox \*genieo\* \*GoogleDr\* \*k.AutoCAD\* \*k.Maya\* vidinst\* ' DYLD_INSERT_LIBRARIES\ DYLD_LIBRARY_PATH -86 "` route -n get default|awk '/e:/{print $2}' `" 25 N\\/A down up 102400 25600 recvfrom sendto CFBundleIdentifier 25 25 25 1000 MB ' com.adobe.AAM.Updater-1.0 com.adobe.CS4ServiceManager com.adobe.CS5ServiceManager com.adobe.fpsaud com.adobe.SwitchBoard com.apple.AirPortBaseStationAgent com.apple.installer.osmessagetracing com.apple.mrt.uiagent com.apple.SafariNotificationAgent com.apple.usbmuxd com.google.keystone.daemon com.microsoft.office.licensing.helper com.oracle.java.Helper-Tool com.oracle.java.JavaUpdateHelper ' ' 879294308 3627668074 1083382502 1274181950 1855907737 464843899 1233118628 2456546649 2636415542 842973933 891055588 998894468 695903914 1443423563 ' 51 5120 files );N5=${#p[@]};p[N5]=` networksetup -listnetworkserviceorder|awk ' NR>1 { sub(/^\([0-9]+\) /,"");n=$0;getline;} $NF=="'${p[26]}')" { sub(/.$/,"",$NF);print n;exit;} ' `;f=('\n%s: %s\n' '\n%s\n\n%s\n' '\nRAM details\n%s\n' %s\ %s '%s\n-\t%s\n' );S0() { echo ' { q=$NF+0;$NF="";u=$(NF-1);$(NF-1)="";gsub(/^ +| +$/,"");if(q>='${p[$1]}') printf("%s (UID %s) is using %s '${p[$2]}'",$0,u,q);} ';};s=(' s/[0-9A-Za-z._]+@[0-9A-Za-z.]+\.[0-9A-Za-z]{2,4}/EMAIL/g;/faceb/s/(at\.)[^.]+/\1NAME/g;/\/Shared/!s/(\/Users\/)[^ /]+/\1USER/g;s/[-0-9A-Fa-f]{22,}/UUID/g;' ' s/^ +//;/de: S|[nst]:/p;' ' {sub(/^ +/,"")};/er:/;/y:/&&$2<'${p[10]} ' 1s/://;3,6d;/[my].+:/d;s/^ {4}//;H;${ g;s/\n$//;/s: [^EO]|x([^08]|02[^F]|8[^0])/p;} ' ' 5h;6{ H;g;/P/!p;} ' ' ($1~/^Cy/&&$3>'${p[11]}')||($1~/^Cond/&&$2!~/^N/) ' ' /:$/{ N;/:.+:/d;s/ *://;b0'$'\n'' };/^ *(V.+ [0N]|Man).+ /{ s/ 0x.... //;s/[()]//g;s/(.+: )(.+)/ (\2)/;H;};$b0'$'\n'' d;:0'$'\n'' x;s/\n\n//;/Apple[ ,]|Genesy|Intel|SMSC/d;s/\n.*//;/\)$/p;' ' s/^.*C/C/;H;${ g;/No th|pms/!p;} ' '/= [^GO]/p' '{$1=""};1' ' /Of/!{ s/^.+is |\.//g;p;} ' ' $0&&!/ / { n++;print;} END { split("'"${p[41]}"'",b);for(i in b) print b[i];if(n<10) print "com.apple.";} ' ' $3~/[0-9]:[0-9]{2}$/ { gsub(/:[0-9:a-f]{14}/,"");} { print|"tail -n'${p[12]}'";} ' ' NR==2&&$4<='${p[13]}' { print $4;} ' ' END { $2/=256;if($2>='${p[15]}') print int($2) } ' ' NR!=13{next};{sub(/[+-]$/,"",$NF)};'"`S0 21 22`" 'NR!=2{next}'"`S0 37 17`" ' NR!=5||$8!~/[RW]/{next};{ $(NF-1)=$1;$NF=int($NF/10000000);for(i=1;i<=3;i++){$i="";$(NF-1-i)="";};};'"`S0 19 20`" 's:^:/:p' '/\.kext\/(Contents\/)?Info\.plist$/p' 's/^.{52}(.+) <.+/\1/p' ' /Launch[AD].+\.plist$/ { n++;print;} END { split("'"${p[41]}"'",b);for(i in b) print b[i]".plist";if(n<200) print "/System/";} ' '/\.xpc\/(Contents\/)?Info\.plist$/p' ' NR>1&&!/0x|\.[0-9]+$|com\.apple\.launchctl\.(Aqua|Background|System)$/ { print $3;} ' ' /\.(framew|lproj)|\):/d;/plist:|:.+(Mach|scrip)/s/:[^:]+//p ' '/^root$/p' ' !/\/Contents\/.+\/Contents|Applic|Autom|Frameworks/&&/Lib.+\/Info.plist$/ { n++;print;} END { if(n<1100) print "/System/";} ' '/^\/usr\/lib\/.+dylib$/p' ' /Temp|emac/{next};/(etc|Preferences|Launch[AD].+)\// { sub(".(/private)?","");n++;print;} END { split("'"${p[41]}"'",b);split("'"${p[42]}"'",c);for(i in b) print b[i]".plist\t"c[i];if(n<500) print "Launch";} ' ' /\/(Contents\/.+\/Contents|Frameworks)\/|\.wdgt\/.+\.([bw]|plu)/d;p;' 's/\/(Contents\/)?Info.plist$//;p' ' { gsub("^| |\n","\\|\\|kMDItem'${p[35]}'=");sub("^...."," ") };1 ' p '{print $3"\t"$1}' 's/\'$'\t''.+//p' 's/1/On/p' '/Prox.+: [^0]/p' '$2>'${p[43]}'{$2=$2-1;print}' ' BEGIN { i="'${p[26]}'";M1='${p[16]}';M2='${p[18]}';M3='${p[31]}';M4='${p[32]}';} !/^A/{next};/%/ { getline;if($5<M1) a="user "$2"%, system "$4"%";} /disk0/&&$4>M2 { b=$3" ops/s, "$4" blocks/s";} $2==i { if(c) { d=$3+$4+$5+$6;next;};if($4>M3||$6>M4) c=int($4/1024)" in, "int($6/1024)" out";} END { if(a) print "CPU: "a;if(b) print "I/O: "b;if(c) print "Net: "c" (KiB/s)";if(d) print "Net errors: "d" packets/s";} ' ' /r\[0\] /&&$NF!~/^1(0|72\.(1[6-9]|2[0-9]|3[0-1])|92\.168)\./ { print $NF;exit;} ' ' !/^T/ { printf "(static)";exit;} ' '/apsd|BKAg|OpenD/!s/:.+//p' ' (/k:/&&$3!~/(255\.){3}0/ )||(/v6:/&&$2!~/A/ ) ' ' $1~"lR"&&$2<='${p[25]}';$1~"li"&&$3!~"wpa2";' ' BEGIN { FS=":";p="uniq -c|sed -E '"'s/ +\\([0-9]+\\)\\(.+\\)/\\\2 x\\\1/;s/x1$//'"'";} { n=split($3,a,".");sub(/_2[01].+/,"",$3);print $2" "$3" "a[n]$1|p;b=b$1;} END { close(p);if(b) print("\n\t* Code injection");} ' ' NR!=4{next} {$NF/=10240} '"`S0 27 14`" ' END { if($3~/[0-9]/)print$3;} ' ' BEGIN { L='${p[36]}';} !/^[[:space:]]*(#.*)?$/ { l++;if(l<=L) f=f"\n   "$0;} END { F=FILENAME;if(!F) exit;if(!f) f="\n   [N/A]";"cksum "F|getline C;split(C, A);C="checksum "A[1];"file -b "F|getline T;if(T!~/^(AS.+ (En.+ )?text(, with v.+)?$|(Bo|PO).+ sh.+ text ex|XM)/) F=F" ("T", "C")";else F=F" ("C")";printf("\nContents of %s\n%s\n",F,f);if(l>L) printf("\n   ...and %s more line(s)\n",l-L);} ' ' s/^ ?n...://p;s/^ ?p...:/-'$'\t''/p;' 's/0/Off/p' ' END{print NR} ' ' /id: N|te: Y/{i++} END{print i} ' ' / / { print "'"${p[28]}"'";exit;};1;' '/ en/!s/\.//p' ' NR!=13{next};{sub(/[+-M]$/,"",$NF)};'"`S0 39 40`" ' $10~/\(L/&&$9!~"localhost" { sub(/.+:/,"",$9);print $1": "$9;} ' '/^ +r/s/.+"(.+)".+/\1/p' 's/(.+\.wdgt)\/(Contents\/)?Info\.plist$/\1/p' 's/^.+\/(.+)\.wdgt$/\1/p' ' /l: /{ /DVD/d;s/.+: //;b0'$'\n'' };/s: /{ /V/d;s/^ */- /;H;};$b0'$'\n'' d;:0'$'\n'' x;/APPLE [^:]+$/d;p;' ' /^find: /d;p;' "`S0 44 45`" ' BEGIN{FS="= "} /Path/{print $2} ' ' /^ *$/d;s/^ */   /;' ' /:/d;/\./p;' '/\.appex\/Contents\/Info\.plist$/p' );c1=(system_profiler pmset\ -g nvram fdesetup find syslog df vm_stat sar ps sudo\ crontab sudo\ iotop top pkgutil 'PlistBuddy 2>&1 -c "Print' whoami cksum kextstat launchctl sudo\ launchctl crontab 'sudo defaults read' stat lsbom mdfind ' for i in ${p[24]};do ${c1[18]} ${c2[27]} $i;done;' defaults\ read scutil sudo\ dtrace sudo\ profiles sed\ -En awk /S*/*/P*/*/*/C*/*/airport networksetup mdutil sudo\ lsof test osascript\ -e );c2=(com.apple.loginwindow\ LoginHook '" /L*/P*/loginw*' "'tell app \"System Events\" to get properties of login items'|tr , \\\n" 'L*/Ca*/com.ap*.Saf*/E*/* -d 1 -name In*t -exec '"${c1[14]}"' :CFBundleDisplayName" {} \;|sort|uniq' '~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \)' '.??* -path .Trash -prune -o -type d -name *.app -print -prune' :${p[35]}\" :Label\" '{/,}L*/{Con,Pref}* -type f ! -size 0 -name *.plist -exec plutil -s {} \;' "-f'%N: %l' Desktop L*/Keyc*" therm sysload boot-args status " -F '\$Time \$Message' -k Sender kernel -k Message Req 'bad |Beac|caug|corru|dead[^bl]|FAIL|fail|GPU |hfs: Ru|inval|jnl:|last value [1-9]|n Cause: -|NVDA\(|pagin|proc: t|Roamed|rror|ssert|Thrott|tim(ed? ?|ing )o|WARN' -k Message Rne 'Goog|ksadm|SMC:|suhel| VALI|ver-r|xpma' -o -k Sender fseventsd -k Message Req 'SL' " '-du -n DEV -n EDEV 1 10' 'acrx -o comm,ruid,%cpu' '-t1 10 1' '-f -pfc /var/db/r*/com.apple.*.{BS,Bas,Es,J,OSXU,Rem,up}*.bom' '{/,}L*/Lo*/Diag* -type f -regex .\*[cght] ! -name .?\* ! -name \*ag \( -exec grep -lq "^Thread c" {} \; -exec printf \* \; -o -true \) -execdir stat -f:%Sc:%N -t%F {} \;|sort -t: -k2 |tail -n'${p[38]} '/S*/*/Ca*/*xpc* >&- ||echo No' '-L /{S*/,}L*/StartupItems -type f -exec file {} +' '-L /S*/L*/{C*/Sec*A,Ex}* {/,}L*/{A*d,Ca*/*/Ex,Co{mpon,reM},Ex,In{p,ter},iTu*/*P,Keyb,Mail/B,Pr*P,Qu*T,Scripti,Sec,Servi,Spo,Widg}* -path \\*s/Resources -prune -o -type f -name Info.plist' '/usr/lib -type f -name *.dylib' `awk "${s[31]}"<<<${p[23]}` "/e*/{auto,{cron,fs}tab,hosts,{[lp],sy}*.conf,mach_i*/*,pam.d/*,ssh{,d}_config,*.local} {,/usr/local}/etc/periodic/*/* /L*/P*{,/*}/com.a*.{Bo,sec*.ap}*t {/S*/,/,}L*/Lau*/*t .launchd.conf" list getenv /Library/Preferences/com.apple.alf\ globalstate --proxy '-n get default' -I --dns -getdnsservers\ "${p[N5]}" -getinfo\ "${p[N5]}" -P -m\ / '' -n1 '-R -l1 -n1 -o prt -stats command,uid,prt' '--regexp --only-files --files com.apple.pkg.*|sort|uniq' -kl -l -s\ / '-R -l1 -n1 -o mem -stats command,uid,mem' '+c0 -i4TCP:0-1023' com.apple.dashboard\ layer-gadgets '-d /L*/Mana*/$USER&&echo On' '-app Safari WebKitDNSPrefetchingEnabled' "+c0 -l|awk '{print(\$1,\$3)}'|sort|uniq -c|sort -n|tail -1|awk '{print(\$2,\$3,\$1)}'" 'L*/P*/com.ap*.p*.ext*.*.*t -exec '"${c1[14]}"' :displayOrder" {} \;' );N1=${#c2[@]};for j in {0..9};do c2[N1+j]=SP${p[j]}DataType;done;N2=${#c2[@]};for j in 0 1;do c2[N2+j]="-n ' syscall::'${p[33+j]}':return { @out[execname,uid]=sum(arg0) } tick-10sec { trunc(@out,1);exit(0);} '";done;l=(Restricted\ files Hidden\ apps 'Elapsed time (s)' POST Battery Safari\ extensions Bad\ plists 'High file counts' User Heat System\ load boot\ args FileVault Diagnostic\ reports Log 'Free space (MiB)' 'Swap (MiB)' Activity 'CPU per process' Login\ hook 'I/O per process' Mach\ ports kexts Daemons Agents XPC\ cache Startup\ items Admin\ access Root\ access Bundles dylibs Apps Font\ issues Inserted\ dylibs Firewall Proxies DNS TCP/IP Wi-Fi Profiles Root\ crontab User\ crontab 'Global login items' 'User login items' Spotlight Memory Listeners Widgets Parental\ Controls Prefetching SATA Descriptors appexes );N3=${#l[@]};for i in 0 1 2;do l[N3+i]=${p[5+i]};done;N4=${#l[@]};for j in 0 1;do l[N4+j]="Current ${p[29+j]}stream data";done;A0() { id -G|grep -qw 80;v[1]=$?;((v[1]==0))&&sudo true;v[2]=$?;v[3]=`date +%s`;clear >&-;date '+Start time: %T %D%n';};for i in 0 1;do eval ' A'$((1+i))'() { v=` eval "${c1[$1]} ${c2[$2]}"|'${c1[30+i]}' "${s[$3]}" `;[[ "$v" ]];};A'$((3+i))'() { v=` while read i;do [[ "$i" ]]&&eval "${c1[$1]} ${c2[$2]}" \"$i\"|'${c1[30+i]}' "${s[$3]}";done<<<"${v[$4]}" `;[[ "$v" ]];};A'$((5+i))'() { v=` while read i;do '${c1[30+i]}' "${s[$1]}" "$i";done<<<"${v[$2]}" `;[[ "$v" ]];};';done;A7(){ v=$((`date +%s`-v[3]));};B2(){ v[$1]="$v";};for i in 0 1;do eval ' B'$i'() { v=;((v['$((i+1))']==0))||{ v=No;false;};};B'$((3+i))'() { v[$2]=`'${c1[30+i]}' "${s[$3]}"<<<"${v[$1]}"`;} ';done;B5(){ v[$1]="${v[$1]}"$'\n'"${v[$2]}";};B6() { v=` paste -d: <(printf "${v[$1]}") <(printf "${v[$2]}")|awk -F: ' {printf("'"${f[$3]}"'",$1,$2)} ' `;};B7(){ v=`grep -Fv "${v[$1]}"<<<"$v"`;};C0() { [[ "$v" ]]&&sed -E "$s"<<<"$v";};C1() { [[ "$v" ]]&&printf "${f[$1]}" "${l[$2]}" "$v"|sed -E "$s";};C2() { v=`echo $v`;[[ "$v" != 0 ]]&&C1 0 $1;};C3() { v=`sed -E "${s[63]}"<<<"$v"`&&C1 1 $1;};for i in 1 2;do for j in 0 2 3;do eval D$i$j'(){ A'$i' $1 $2 $3; C'$j' $4;};';done;done;{ A0;D20 0 $((N1+1)) 2;D10 0 $N1 1;B0;C2 27;B0&&! B1&&C2 28;D12 15 37 25 8;A1 0 $((N1+2)) 3;C0;D13 0 $((N1+3)) 4 3;D23 0 $((N1+4)) 5 4;D13 0 $((N1+9)) 59 50;for i in 0 1 2;do D13 0 $((N1+5+i)) 6 $((N3+i));done;D13 1 10 7 9;D13 1 11 8 10;D22 2 12 9 11;D12 3 13 10 12;D23 4 19 44 13;D23 5 14 12 14;D22 6 36 13 15;D22 7 37 14 16;D23 8 15 38 17;D22 9 16 16 18;B1&&{ D22 35 49 61 51;D22 11 17 17 20;for i in 0 1;do D22 28 $((N2+i)) 45 $((N4+i));done;};D22 12 44 54 45;D22 12 39 15 21;A1 13 40 18;B2 4;B3 4 0 19;A3 14 6 32 0;B4 0 5 11;A1 17 41 20;B7 5;C3 22;B4 4 6 21;A3 14 7 32 6;B4 0 7 11;B3 4 0 22;A3 14 6 32 0;B4 0 8 11;B5 7 8;B1&&{ A2 19 26 23;B7 7;C3 23;};A2 18 26 23;B7 7;C3 24;D13 4 21 24 26;B4 4 12 26;B3 4 13 27;A1 4 22 29;B7 12;B2 14;A4 14 6 52 14;B2 15;B6 14 15 4;B3 0 0 30;C3 29;A1 4 23 27;B7 13;C3 30;B3 4 0 65;A3 14 6 32 0;B4 0 16 11;A1 4 50 64;B7 16;C3 52;D13 24 24 32 31;D13 25 37 32 33;A2 23 18 28;B2 16;A2 16 25 33;B7 16;B3 0 0 34;B2 21;A6 47 21&&C0;B1&&{ D13 21 0 32 19;D13 10 42 32 40;D22 29 35 46 39;};D23 14 1 62 42;D12 34 43 53 44;D12 22 20 32 25;D22 0 $((N1+8)) 51 32;D13 4 8 41 6;D12 26 28 35 34;D13 27 29 36 35;A2 27 32 39&&{ B2 19;A2 33 33 40;B2 20;B6 19 20 3;};C2 36;D23 33 34 42 37;B1&&D23 35 45 55 46;D23 32 31 43 38;D12 36 47 32 48;D13 20 42 32 41;D13 37 2 48 43;D13 4 5 32 1;D13 4 3 60 5;D12 26 48 49 49;B3 4 22 57;A1 26 46 56;B7 22;B3 0 0 58;C3 47;D22 4 4 50 0;D23 22 9 37 7;A7;C2 2;} 2>/dev/null|pbcopy;exit 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    8. Launch the built-in 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.
    Click anywhere in the Terminal window and paste by pressing command-V. The text you pasted should vanish immediately. If it doesn't, press the return key.
    9. If you see an error message in the Terminal window such as "Syntax error" or "Event not found," enter
    exec bash
    and press return. Then paste the script again.
    10. If you're logged in as an administrator, you'll be prompted for your login password. Nothing will be displayed when you type it. You will not see the usual dots in place of typed characters. Make sure caps lock is off. Type carefully and then press return. You may get a one-time warning to be careful. If you make three failed attempts to enter the password, the test will run anyway, but it will produce less information. In most cases, the difference is not important. If you don't know the password, or if you prefer not to enter it, press the key combination control-C or just press return  three times at the password prompt. Again, the script will still run.
    If you're not logged in as an administrator, you won't be prompted for a password. The test will still run. It just won't do anything that requires administrator privileges.
    11. The test may take a few minutes to run, depending on how many files you have and the speed of the computer. A computer that's abnormally slow may take longer to run the test. While it's running, there will be nothing in the Terminal window and no indication of progress. Wait for the line
    [Process completed]
    to appear. If you don't see it within half an hour or so, the test probably won't complete in a reasonable time. In that case, close the Terminal window and report what happened. No harm will be done.
    12. When the test is complete, quit Terminal. The results will have been copied to the Clipboard automatically. They are not shown in the Terminal window. Please don't copy anything from there. All you have to do is start a reply to this comment and then paste by pressing command-V again.
    At the top of the results, there will be a line that begins with the words "Start time." If you don't see that, but instead see a mass of gibberish, you didn't wait for the "Process completed" message to appear in the Terminal window. Please wait for it and try again.
    If any private information, such as your name or email address, appears in the results, anonymize it before posting. Usually that won't be necessary.
    13. When you post the results, you might see an error message on the web page: "You have included content in your post that is not permitted," or "You are not authorized to post." That's a bug in the forum software. Please post the test results on Pastebin, then post a link here to the page you created.
    14. This is a public forum, and others may give you advice based on the results of the test. They speak only for themselves, and I don't necessarily agree with them.
    Copyright © 2014 by Linc Davis. As the sole author of this work, I reserve all rights to it except as provided in the Use Agreement for the Apple Support Communities website ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed.

Maybe you are looking for