Acrobat craches - how to manage RAM usage?

I implemented a script for switching on and off a lot of lists of my pdf layers to the same time. The Acrobat crashes when I use it with big PDFs, around 60 layers. At first I though it would be an error, therefore I checked all the functions and added exception handling on every function. The program still crashes without throwing any exception( to be sure, I putted app.alert(...) in catch-block). Then I realized that the acrobat crashes if it involves up to 500 mb RAM, on other computer 450 mb. Can it occur at all, that it crashes cause of lack of memory? If yes, is it possible to manage it somehow? (increase more RAM for the program or delete some variables, which are not using more at runtime or there is some garbage collector)? I would appreciate any suggestions.

Do you mean, something like this: var ocgsArray = this.getOCGs(); ?
Could I change/get the properties of each layer on such a way as well?
i.e.:
1. ocgsArray[1].state = false;
or get the name :
2. var layerName1 =  ocgsArray[1].name;

Similar Messages

  • 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 check the usage of ram and cpu Performance for the particular application like sqlserver ,ms word

    how to check the usage of ram and cpu  Performance for the particular application like sqlserver ,ms word
    ranki

    Hi,
    You can use Performance Monitor and add the required counters.
    Check the below Technet article on Performance Monitor.
    http://technet.microsoft.com/en-us/library/cc749249.aspx
    Below are the steps to monitor the process in Performance Monitor.
    - Go to the Performance Monitor. 
    - Right-click on the graph and select "Add Counters".
    - In the "Available counters" list, open the "Process" section by clicking on the down arrow next to it. Select "% Processor Time" (and any other counter you want).
    - In the "Instances of selected object" list, select the process you want to track. Then click on "Add >>" button. Click on OK.
    Regards,
    Jack
    www.jijitechnologies.com

  • [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.

  • IStat Pro widget shows gradual increase in RAM usage

    I have the iStat Pro widget on my dashboard. every time i open up the dashboard, it shows that i have less and less RAM free, which obviously worries me, since whenever I open up dashboard i am idle; im not doing anything besides reading a webpage, or just charging my iPod. I would understand if there is less RAM while i am working with my pictures, but it does worry me. Please help, anyone that can, I greatly appreciate the help :-)!

    Any running process on the Mac may consume more RAM over time. Safari and other browsers especially will use more RAM over time. However, free RAM is misleading as an indicator of whether you're running out of memory. Available RAM is the sum of Free RAM and Inactive RAM. Although you may notice that Free RAM may decrease over time, you still have plenty of available RAM when you include Inactive RAM. See the following:
    About OS X Memory Management and Usage
    Reading system memory usage in Activity Monitor
    Memory Management in Mac OS X
    Performance Guidelines- Memory Management in Mac OS X
    A detailed look at memory usage in OS X
    Understanding top output in the Terminal
    The amount of available RAM for applications is the sum of Free RAM and Inactive RAM. This will change as applications are opened and closed or change from active to inactive status. The Swap figure represents an estimate of the total amount of swap space required for VM if used, but does not necessarily indicate the actual size of the existing swap file. If you are really in need of more RAM that would be indicated by how frequently the system uses VM. If you open the Terminal and run the top command at the prompt you will find information reported on Pageins () and Pageouts (). Pageouts () is the important figure. If the value in the parentheses is 0 (zero) then OS X is not making instantaneous use of VM which means you have adequate physical RAM for the system with the applications you have loaded. If the figure in parentheses is running positive and your hard drive is constantly being used (thrashing) then you need more physical RAM.

  • 800MB RAM Usage with nothing running?

    I am pretty confused, my MacBook seems to be using a lot of memory with nothing significant running. I've cleaned all caches, and ran all the maintenance scripts, but from shutdown to restart, with nothing running (not even dashboard), it shows over 800MB of RAM in use. 250MB of that is wired, 750MB is active. I've checked my login items, and there's nothing that would cause such a large usage of RAM running. Even when I start the Activity Monitor, it doesn't even list anything using so much RAM. There's like 20-40MB RAM for the kernel task, window server and default stuff like that.
    Basically there seems to be a large amount of RAM used that I have no idea what is using it. Any clue at all what could be causing this?

    So you have 800 MBs of RAM in use. Why is that a problem? See the following:
    About OS X Memory Management and Usage
    Reading system memory usage in Activity Monitor
    Memory Management in Mac OS X
    Performance Guidelines- Memory Management in Mac OS X
    A detailed look at memory usage in OS X
    Understanding top output in the Terminal
    The amount of available RAM for applications is the sum of Free RAM and Inactive RAM. This will change as applications are opened and closed or change from active to inactive status. The Swap figure represents an estimate of the total amount of swap space required for VM if used, but does not necessarily indicate the actual size of the existing swap file. If you are really in need of more RAM that would be indicated by how frequently the system uses VM. If you open the Terminal and run the top command at the prompt you will find information reported on Pageins () and Pageouts (). Pageouts () is the important figure. If the value in the parentheses is 0 (zero) then OS X is not making instantaneous use of VM which means you have adequate physical RAM for the system with the applications you have loaded. If the figure in parentheses is running positive and your hard drive is constantly being used (thrashing) then you need more physical RAM.

  • Limiting OS RAM usage

    I am looking for some tips or best practices to get the most efficient use out of my RAM, particularly when it comes to the OS. I have a Latitude E6530 with 16GB of RAM. I started out with 4, then went to 8GB, then to 16. I run the same number of programs
    in my daily routine, yet it seems that the more RAM I install, the more the OS gobbles it up. Since I run the same programs daily, I would not expect RAM usage to fluctuate very much and expect these apps to consume about the same daily. It seems like the
    only thing that can be consuming more RAM is the OS. When I was at 4gb, I hovered around 70-80% RAM utilization, went to 8GB, same results, now at 16GB, and almost hitting that number again. I understand the OS needs a certain amount of RAM to operate, so
    is there a way for me to limit what the OS takes so I can have more for programs that may need it? Will the OS "give some back" if needed to extra programs I may decide to run when I am at a high utilization mark? What I don't want to get into
    though is a constant swap condition, especially with core OS components that need to stay in RAM. Whats the best way to go about this?

    it will be better if you start from "general" about RAM management
    http://windows.microsoft.com/en-us/windows/optimize-windows-better-performance#optimize-windows-better-performance=windows-7
    actually its not only based on how much RAM that you are using, but how you prevent another program or HW attached (even external graphic card or LAN card) used windows service that maybe will increase RAM usage.
    You can start using Windows performance tools to investigate
    http://technet.microsoft.com/en-us/library/cc749249.aspx
    try to compare different condition like, a few program running during start up (clecan boot), disable security software, no other 3rd party HW attached, no internet connection, upgrade latest driver for all HW or else
    my opinion, Windows will only using RAM that needed to run start up, increasing RAM usage for windows process depend on the software running and HW attached 
    for more details and complicated process :) , you can read and implement this with your development environment
    http://msdn.microsoft.com/en-us/magazine/cc163437.aspx

  • Low Ram usage?

    Hey all, so I've been keeping an eye on how much ram FCX has been using and it's... really low.
    Is this normal? I assumed it would use a ton but it's barely using 2gb of ram any given time I check it in Activity Moniter.
    I have 16gigs installed on my Mac Pro 1,1 for the record.
    Is there something I am missing here?

    If you're interested in more see:
    About OS X Memory Management and Usage
    Reading system memory usage in Activity Monitor
    Memory Management in Mac OS X
    Performance Guidelines- Memory Management in Mac OS X
    A detailed look at memory usage in OS X
    Understanding top output in the Terminal
    The amount of available RAM for applications is the sum of Free RAM and Inactive RAM. This will change as applications are opened and closed or change from active to inactive status. The Swap figure represents an estimate of the total amount of swap space required for VM if used, but does not necessarily indicate the actual size of the existing swap file. If you are really in need of more RAM that would be indicated by how frequently the system uses VM. If you open the Terminal and run the top command at the prompt you will find information reported on Pageins () and Pageouts (). Pageouts () is the important figure. If the value in the parentheses is 0 (zero) then OS X is not making instantaneous use of VM which means you have adequate physical RAM for the system with the applications you have loaded. If the figure in parentheses is running positive and your hard drive is constantly being used (thrashing) then you need more physical RAM.
    Adding RAM only makes it possible to run more programs concurrently.  It doesn't speed up the computer nor make games run faster.  What it can do is prevent the system from having to use disk-based VM when it runs out of RAM because you are trying to run too many applications concurrently or using applications that are extremely RAM dependent.  It will improve the performance of applications that run mostly in RAM or when loading programs.

  • Router RAM usage

    Hi,
    i have a Question to Router RAM usage.
    My Router have 512MB of Memory.
    When i do a "show version" I get this otput:
    Cisco ********* processor with 491520K/32768K bytes of memory.
    This means 491MB for CPU and 32MB for IO.
    Now i do a "show memory" and get this output:
                    Head    Total(b)     Used(b)     Free(b)   Lowest(b)  Largest(b)
    Processor   6353EB60   430707644    14276428   416431216   416363448   413930428
          I/O    E000000    33554432     1884520    31669912    31669912    31669884
    Now here are only 430MB Total RAM for the Processor. Why this? What is with the other 60MB Memory? How does these values are in context with the Output of a  "show region"?
    Region Manager:
          Start         End     Size(b)  Class  Media  Name
    0x0E000000  0x0FFFFFFF    33554432  Iomem  R/W    iomem
    0x60000000  0x7DFFFFFF   503316480  Local  R/W    main
    0x60008EF8  0x6204F18B    33841812  IText  R/O    main:text
    0x62050000  0x6303FE1F    16711200  IData  R/W    main:data
    0x6303FE20  0x6353EB5F     5238080  IBss   R/W    main:bss
    0x6353EB60  0x6453EB5F    16777216  Local  R/W    main:heap
    0x7D000000  0x7DFFFFFF    16777216  Local  R/W    main:heap
    0x7E000000  0x7FFFFFFF    33554432  Iomem  R/W    iomem:(iomem_cwt)
    0x80000000  0x8DFFFFFF   234881024  Local  R/W    main:(main_k0)
    0xA0000000  0xADFFFFFF   234881024  Local  R/W    main:(main_k1)
    Thank in advance
    Thomas

    hello Thomas,
    in order to understand the difference between both output, i would highly recommend you to go through the following mentioned example:
    the output of the show version indicate the physical amount of memory... however, the following mentioned memory summary indicate the >>>>>> allocated + total == process memeory...
    Router>show memory summary
                Head       Total (b)   Used (b)  Free (b)   Lowest (b)  Largest (b)
    Processor   60AB4ED0   5550384     2082996   3467388    3464996     3454608
    I/O         40000000   16777216    1937280   14839936   14839936    14838908
    Total = the total amount of memory available after the system image loads and builds its data structures.
    Used = the amount of memory currently allocated.
    Free = the amount of memory currently free.
    Lowest = the lowest amount of free memory recorded by the router since it was last booted.
    Largest = the largest free memory block currently available.
    Here is what you can learn from the show processes memory command output:
    Router>show processes memory
    Total: 3149760, Used: 2334300, Free: 815460
    PID   TTY   Allocated    Freed      Holding    Getbufs    Retbufs   Process
    0     0     226548       1252       1804376    0          0         *Initialization*
    0     0     320          5422288    320        0          0         *Scheduler*
    0     0     5663692      2173356    0          1856100    0         *Dead*
    1     0     264          264        3784       0          0         Load Meter
    2     2     5700         5372       13124      0          0         Virtual Exec
    3     0     0            0          6784       0          0         Check heaps
    4     0     96           0          6880       0          0         Pool Manager
    5     0     264          264        6784       0          0         Timers
    Allocated = the total amount of bytes that have been allocated by the process since the router booted...
    Total = the total amount of memory available after the system image loads and builds its data structures.
    so if you add the above allocated memory to the Total amount of memory, this should be equal to the process Pool >>> physical Dram...
    please refer to the following link for more info:
    http://www.cisco.com/en/US/products/sw/iosswrel/ps1831/products_tech_note09186a00800a6f3a.shtml
    hope this helps...
    thanks,
    /Osama

  • Is there any way to 'recover' RAM usage (other than restarting)?

    Hi everyone,
    I just upgraded my White Macbook 4,1 to 4GB of RAM and when I first boot the system, Activity Monitor shows that over 3GB is free.
    After several hours of usage (Mail, Safari 4 Beta, iTunes, iCal, iPhoto, Time Machine, Address Book, and yes...Activity Monitor!) it shows just over 2GB free.
    Now the part that puzzles me is that even after quitting all these applications, the RAM usage does recover somewhat, but never reaches it's original >3GB of availability.
    A reboot certainly does the job. But is there any other way that Leopard can recover this memory? Is this normal? If I simply leave the system idle for some time without any open applications will Leopard eventually reclaim the lost memory?
    Thanks!
    Message was edited by: Michael271

    There's no need for any "ram" recovery. It's all handled by the memory manager. You must be coming from the world of XP. See the following:
    About OS X Memory Management and Usage
    Reading system memory usage in Activity Monitor
    Memory Management in Mac OS X
    Performance Guidelines- Memory Management in Mac OS X
    A detailed look at memory usage in OS X
    Understanding top output in the Terminal
    The amount of available RAM for applications is the sum of Free RAM and Inactive RAM. This will change as applications are opened and closed or change from active to inactive status. The Swap figure represents an estimate of the total amount of swap space required for VM if used, but does not necessarily indicate the actual size of the existing swap file. If you are really in need of more RAM that would be indicated by how frequently the system uses VM. If you open the Terminal and run the top command at the prompt you will find information reported on Pageins () and Pageouts (). Pageouts () is the important figure. If the value in the parentheses is 0 (zero) then OS X is not making instantaneous use of VM which means you have adequate physical RAM for the system with the applications you have loaded. If the figure in parentheses is running positive and your hard drive is constantly being used (thrashing) then you need more physical RAM.

  • 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?

  • MonitoringHost.exe RAM usage SCOM 2012 SP1 UR1

    Hello,
    From two days the MonitoringHost.exe use more than 6 go ram on two of my four management servers. After some research I found that these two servers are member of my UNIX/Linux Monitoring Resource Pool. And when I delete on these management server
    of this resource pool the process return to the normal with 500 mo of ram usage.
    I have 11 UNIX/Linux computers for the moment composed by 5 SunOS 5.10, 4 SLES 10 and 2 SLES 11. I have only imported MP for these versions. I think that the problem come of a rule in on of these management pack but I don't know how to investigate and find
    the source of problem.
    Any help would be welcome.

    You should apply the latest Update Rollup 2 for System Center 2012 SP1 Operations Manager.  It contains quite a few updates to SCOM itself, plus it contains new cross platform Management Packs.  Cross platform monitoring works in proxy,meaning
    the Management Server resource pool or Management Server that you appoint to monitor the workloads truly does a lot of work.  I would recommend, and so does Microsoft, having a dedicated resource pool of Management Servers to perform the monitoring for
    cross platform systems.  
    In addition to this the most important resource to a Management Server is RAM.  I'm not sure the scale of your environment and your current configuration (physical vs virtual) but I would highly recommended scaling your Management Servers a little higher
    in RAM to accommodate console sessions, dashboards creation and viewing etc.  You can even scale out now with the nice architecture changes to SCOM 2012.  If you start to use dashboards in your environment that will chew through a ton of
    RAM which Microsoft design recommendations don't currently account for.
    http://support.microsoft.com/kb/2802159?wa=wsignin1.0

  • Ram usage for MBP

    Hello
    I have a new MBP and have VMFussion with windows.
    Now can someone explain me the activity monitor on Leopard. The CPU is often above 30% and memory is fully use even if I have "given" the VM 1.2GB only.
    See here:http://picasaweb.google.com/sezalped/AllSorts/photo#5235691418407380050
    Thanks a lot

    Your memory is not fully used. You have 1.2 GBs inactive RAM. CPU usage with PC emulation is not unusual.
    About OS X Memory Management and Usage
    Reading system memory usage in Activity Monitor
    Memory Management in Mac OS X
    Performance Guidelines- Memory Management in Mac OS X
    A detailed look at memory usage in OS X
    Understanding top output in the Terminal
    The amount of available RAM for applications is the sum of Free RAM and Inactive RAM. This will change as applications are opened and closed or change from active to inactive status. The Swap figure represents an estimate of the total amount of swap space required for VM if used, but does not necessarily indicate the actual size of the existing swap file. If you are really in need of more RAM that would be indicated by how frequently the system uses VM. If you open the Terminal and run the top command at the prompt you will find information reported on Pageins () and Pageouts (). Pageouts () is the important figure. If the value in the parentheses is 0 (zero) then OS X is not making instantaneous use of VM which means you have adequate physical RAM for the system with the applications you have loaded. If the figure in parentheses is running positive and your hard drive is constantly being used (thrashing) then you need more physical RAM.

  • Scratch disks and RAM usage

    i would like to understand the relationship between scratch disks and RAM usage in Photoshop.
    While i was working on a fairly big psb file (2gb), photoshop kept prompting that I was out of memory, but in fact the utilization was only 75% (i had 16gbs total, photoshop was only using 7gb, and i allowed PS to use up to 14gb in total). when it says out of memory, it was actually my scratch disk at fault ( i only set 1 scratch disk, which was my 120gb SSD running out of space).
    any idea how I can optimize PS to use up all my RAM first before even touching my scratch disk? (short of using a RAMdisk, please).
    thanks!

    I am curious about this also. I just reinstalled W-7--have 11 G of physical memory--a ton of hard drive empty space also, and I have been wondering why PS_CC is so slow--since basically I have only put my Security and Browser in addition to Adobe back on the Dell XPS computer..... At least now it does show the downloading percentage (like .psd file) , but that must be what is happening.  I do think that some of these "frozen" screens I have been experiencing, was because the program was using scratch disk, instead of the Ram... I came up from CS-5, and can't describe it in detail, but just realize how slow PS-CC is in most everything.  Going back and see if reallocating will help...

  • 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