Skip navigation
Arthur Jacks
Currently Being Moderated

CS6 and ram

Jul 29, 2012 10:34 AM

CS6 on a late 2011 17" Mac Book Pro 2.5 processor and 8Gb ram, with Firefox, iTunes and 1 d800 nef file open I seem to have just under 4 Mb ram free, working on the image and then saving a tiff version I close the file down ready to start on another image but and I am not sure if this a mountain lion or CS6 issue but I do not see the ram quantity freeing up in consequence by the time I have worked on 4 or 5 images I have no free ram left and I am getting page outs and swop file usage resulting in a general slow down with progress bars appearing for some simple tasks such as cropping or sharpening. I do not understand a lot of the under the bonnet settings so if anyone could offer any advice I would be grateful.

 
Replies
  • Noel Carboni
    23,478 posts
    Dec 23, 2006
    Currently Being Moderated
    Jul 29, 2012 10:51 AM   in reply to Arthur Jacks

    Photoshop, by its design, allocates then holds onto RAM, even when you close the document you've been working on.

     

    While working on an given document it makes history states of everything you do, then writes data to its scratch file(s) whenever it accumulates enough data in RAM to reach the pre-set limit you have programmed in the Photoshop - Preferences - Performance dialog.

     

    So the questions are:

     

    1.  What have you set as Photoshop's RAM limit in Preferences - Performance?

     

    2.  What other things do you expect to continue to run while running Photoshop?  This should influence your RAM limit setting.  The OS takes a gigabyte or so, and you'll want to set Photoshop to leave at least that much, or more if you like to have several things running at once.

     

    3.  Have you considered your needs for History states?  Configuring it to remember fewer history states means that it won't build up data in RAM as quickly and if you don't do big jumps back in history this can reduce the impact Photoshop has on your system.

     

    4.  If you use your Macbook for intensive work, have you considered SSD?  SSD storage is a good alternative to spinning hard drives, as it allows MUCH higher data swapping rates.

     

    -Noel

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 29, 2012 12:04 PM   in reply to Arthur Jacks

    Photoshop reuses the RAM it allocates - so it'll allocate up to the limit you set in preferences, and will only free RAM when needed by third party plugins or the OS.  This is not a memory leak and does not lead to excess paging. It is possible that Mountain Lion (MacOS 10.8) has added more memory leaks in the OS code, but we haven't seen that yet (and we've tried to minimize the impact of the known memory leaks in MacOS).

     
    |
    Mark as:
  • Noel Carboni
    23,478 posts
    Dec 23, 2006
    Currently Being Moderated
    Jul 29, 2012 3:21 PM   in reply to Arthur Jacks

    I'm going to suggest that Chris, who is much more familiar with Macs, take this further.

     

    -Noel

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 29, 2012 4:56 PM   in reply to Arthur Jacks

    Set your Cache Levels to 4 and tell us if you see any improvement as far as waiting for progress bars and such.  If you do see improvements try a Cache Levels setting of 6 and compare between the two settings, 4 and 6.

     

    It's normal for you not to see a change in RAM being released, as Chris Cox has explained to you.

     

    Mountain Lion is not the greatest Apple release of an OS, but Apple doesn't get the new major releases right until about the dot six release, so it will be a while.  They never got Lion right.  I'm sticking with Snow Leopard.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 3, 2012 4:01 PM   in reply to station_two

    Weeeeell... sorry to say, but I've recently upgraded from CS5 to CS6, and I've started running into this problem despite completing the same tasks I've been doing over the last two years - even using the same files & actions.

     

    I'm running Windows 7, and I have 16gb of RAM.  Every day, I eventually get to the point once I've opened, modified, saved and closed a dozen PSDs or so.  Granted, I work on some pretty large files (anywhere from 30mb to 1.5gb), but I haven't run into this problem with such frequency since upgrading to CS6.

     

    The symptom, in Windows, is that you first receive a warning that you should close some programs.  Even if you do, it often doesn't help - it hits a brick wall when I go to save, or use any RAM-intensive action.  Citing "there is not enough RAM to complete..".

     

    Some additional info:

    • I have Photoshop set to use 75% of 16gb (11034mb)
    • I left my Cache Levels default (4), but I always bump my History States up to 40.  No doubt this is related to the problem.
    • It doesn't seem to matter if you have an empty scratch disk; when the problem occurs, it will not even bother using the scratch disk.

     

    Anyone else?

     

    -J

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 4, 2012 7:52 AM   in reply to Wiinter

    That sounds more like you're running into an OS problem or a leak in a driver.

    The number of history states wouldn't be related - that is all moved to the scratch disk as Photoshop needs more memory.  If Photoshop is low on memory (or the OS says it needs more memory), it will free some RAM and move the data to the scratch disk.  If the system says it's low on RAM and Photoshop isn't hitting the scratch disk, then you're looking at a system level problem.

     

    One thing to check is your OS VM settings.  Did you turn off the OS swapfile at any time (BAD idea), or limit it to something less than twice your installed RAM (also bad, but not as bad)?

     
    |
    Mark as:
  • Noel Carboni
    23,478 posts
    Dec 23, 2006
    Currently Being Moderated
    Aug 3, 2012 4:23 PM   in reply to Wiinter

    That it's not using your scratch disk seems suspicious to me...  Photoshop writes stuff ot the scratch drive virtually all the time.  Usually quite a lot of it.

     

    What scratch disk are you using (C: or other), and where are you looking to see the temporary files?

     

    -Noel

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 4, 2012 7:50 AM   in reply to Arthur Jacks

    Again: Photoshop reuses RAM.  Photoshop doesn't free RAM, but that doesn't make it a leak or a problem.

    If the OS or a third party plugin needs more RAM, then Photoshop will free the RAM.

    But that does not lead to slowdowns, or the system running low on RAM, and is perfectly normal behavior.

    There is no need to exit Photoshop to free RAM unless there is a leak in the OS or a driver.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points