Thank you for purchasing through links and ads on this site.
OWC / MacSales.com...
diglloyd Deal Finder...
Buy other stuff at Amazon.com...
Get up to 16x more storage and 2x the speeds of the original drive
Handpicked deals...

$6299.0 $4199
SAVE $2100


Sony A7R IV

NEW! Technology tour de force.

CLICK THIS AD to pre-order @ 10 AM Eastern July 18.
My review will be in-depth!


Sony gear wishlist...
√ B&H Photo PAYS THE SALES TAX FOR YOU More info...

Slow Memory Allocation / Warmup

Last updated 2011-01-27 - Send Feedback
Related: memory, optics, Photoshop, software

When I first tested Photoshop CS5 in March 2010, I was stunned to see how much slower it was than CS4.  Then I noticed a curious thing— running tests more than once showed far better results on subsequent runs.

diglloyd warmup scripts

That finding led me to document what I call the “Photoshop warm up bug”; whereby Photoshop CS5 suffers from inefficient memory allocation until “warmed up”.

I wrote a C++ test program to verify that memory allocation could be done in a few seconds, not the minute or so being taken by Photoshop CS5. (I am also a software developer, e.g., diglloydTools).

And then I set about to develop a javascript that forces the warm up to occur as efficiently as possible (users of my diglloydTools software can download the warmup scripts).

Don’t launch/quite/launch Photoshop

The graphs below show run time with and without “warmup”.    It makes a compelling case for avoiding a launch/quit cycle, and instead leaving Photoshop running without quitting so that memory remains allocated and ready to go within Photoshop.

Of course, whatever is causing this problem could be fixed by Adobe (or Apple) at some point. I do not have an explanation from Adobe as to the cause, but clearly it has to do with inefficient memory allocation.

128GB Memory in iMac 5K

Up to 128GB for 2019 iMac 5K!
Up to 64GB for 2015/2017 iMac 5K

Save nearly 50% over Apple pricing

Startup issue only

The warmup issue is a one-time issue, not an ongoing problem; once Photoshop has allocated plenty of memory, subsequent work proceeds apace (e.g., work on a file, close it, open another file, no problem).

Results shown here are for the 3.33GHz 6-core for diglloydMedium.  The diglloydSpeed1 benchmark (not shown) shows very little effect (less than 2%), but that’s because it allocates much less memory.

The penalty worsens with larger files and 12 cores versus 6 cores.

Photoshop CS5 warm/cold performance with 6-core Mac Pro
Photoshop CS5 warm/cold performance with 12-core Mac Pro

diglloyd.com | Terms of Use | PRIVACY POLICY
Contact | About Lloyd Chambers | Consulting | Photo Tours
Mailing Lists | RSS Feeds | Twitter
Copyright © 2019 diglloyd Inc, all rights reserved.
Display info: __RETINA_INFO_STATUS__