CS4 64 version using 5.6 gigs memory w no open photos

GN
Posted By
Gary_Noonan
Jan 21, 2009
Views
1363
Replies
30
Status
Closed
Hi, I just upgraded recently to a Dell computer running Vista 64 and with 8 gigs memory and thought that would be enough for Photoshop. I worked today for about 2 hours opening raw scenery files in Bridge and making heavy use of the adjustment brush in camera and heavy use of other camera raw tools. Each file that was brought into Photoshop was further modified there and then closed.

When I went to open another file, I was told it could not be done because of a lack of memory. Photoshop was using 5.6 gigs of RAM. Bridge was using another 0.5 gig.

Photoshop is set (left default setting established by Photoshop) to use scratch space on drive C which because I just started with this computer a few days ago has about 500 gigs of free contiguous space. But actually I don’t to make much use of scratch space because such use would slow computer down.

Does the 64 bit version just keep taking more and more RAM without releasing any after a file is closed? I gave computer several minutes wait to see if Photoshop would release memory–nope.

Everything ran fine until that error, machine did not slow down at all.

Its annoying to have to close Photoshop because it doesn’t release memory.

Are other people finding that the program fails to release memory?

How to Master Sharpening in Photoshop

Give your photos a professional finish with sharpening in Photoshop. Learn to enhance details, create contrast, and prepare your images for print, web, and social media.

J
Jim
Jan 21, 2009
wrote in message
Hi, I just upgraded recently to a Dell computer running Vista 64 and with 8 gigs memory and thought that would be enough for Photoshop. I worked today for about 2 hours opening raw scenery files in Bridge and making heavy use of the adjustment brush in camera and heavy use of other camera raw tools. Each file that was brought into Photoshop was further modified there and then closed.

When I went to open another file, I was told it could not be done because of a lack of memory. Photoshop was using 5.6 gigs of RAM. Bridge was using another 0.5 gig.

Photoshop is set (left default setting established by Photoshop) to use scratch space on drive C which because I just started with this computer a few days ago has about 500 gigs of free contiguous space. But actually I don’t to make much use of scratch space because such use would slow computer down.

Does the 64 bit version just keep taking more and more RAM without releasing any after a file is closed? I gave computer several minutes wait to see if Photoshop would release memory–nope.

Everything ran fine until that error, machine did not slow down at all.
Its annoying to have to close Photoshop because it doesn’t release memory.
Are other people finding that the program fails to release memory?
Even if PS released the memory, Windows might not honor the request until PS stops.
I didn’t realize that the user has any control over how PS uses the scratch space.
Jim
CC
Chris_Cox
Jan 21, 2009
You don’t have to close Photoshop – it does reuse the memory.

What exact error did you receive, from which application?
JJ
John Joslin
Jan 21, 2009
But actually I don’t to make much use of scratch space because such use would slow computer down.

How do you know that? Photoshop determines scratch usage.

And it is not ideal to have the scratch space on the system drive.
RB
Robert_Barnett
Jan 21, 2009
I can’t speak for 64-bit, but it has been said by Adobe that Photoshop does not release memory when you close files, only when you close Photoshop. Though, it should be able to reuse any memory that it has already been using so you shouldn’t be getting that error message. Maybe someone from Adobe can shed some light.

Robert
GN
Gary_Noonan
Jan 22, 2009
I bought a computer with 8 gigs of RAM because I believed that using hard disk space to store memory items is much slower than storing them in RAM. My machine runs Photoshop very fast. Have to have scratch space on system drive because that drive is actually composed of 2 600 gig drives that came configured in a spanning RAID array–giving 1.2 T of space. No room in computer for another drive. Presume assigning scratch space to a USB drive is not a good idea.
GN
Gary_Noonan
Jan 22, 2009
The error message was from Photoshop. It said something about not being able to fill my request because of a lack of memory.

Photoshop was not reusing memory–if it had been, it never would have taken up 5.6 gigs. My files were not enormous. Most files as raw were ca 16-17 megs. Those that I made substantial changes to and saved as psd files became 70-75 or rarely 80 megs in size. I closed each file after processing it. I think if Photoshop was properly reusing memory,it never could have swollen to 5.6 gigs.
M
Mylenium
Jan 22, 2009
I would suspect that in fact the RAW loader is not correctly unloading its stuff due to incorrect process instanciation, not Photoshop itself. I vaguely seem to remember such stuff being described some place on a German website or forum, probably in the context of a similar issue for Lightroom 2 (which should have been fixed there with the latest update). In the short run, your only solution is to quit PS every now and then to terminate the process and purge all memory until the devs can fix this with the planned mini-update.

Mylenium
SG
steve_guilhamet
Jan 22, 2009
Hi Gary,

What version of the Camera Raw (CR) plug-in do you have? Are you opening them into Ps as Smart Objects or just images? What camera model and format are you using?

thx,
steve
JJ
John Joslin
Jan 22, 2009
Allocating too much of the memory shown as available in Photoshop prefereces > Performance is not a good idea. Try lowering it to within the "Ideal Range" recommended by Photoshop.

Read the following thoroughly:

< http://kb.adobe.com/selfservice/viewContent.do?externalId=kb 404439&sliceId=1>
GN
Gary_Noonan
Jan 24, 2009
Hi, camera raw 5.2. Camera is Canon Xsi. I convert the Canon CR2 filfes into dng files before opening dng in camera raw.
GN
Gary_Noonan
Jan 24, 2009
The memory range is the default range that Photoshop installed itself with and is within the "Ideal Range".
HH
Hugh Hansard
Feb 2, 2009
There is some serious mis-information here.

PS only releases memory on exit.

PS does not always re-uses existing allocation if a new image does not fit into allocated contigous blocks.

Example:

Open 10 125MB files — ok, allocation is 1.5G give or take.

Close all files

Allocation remains at 1.5G — this is how it is designed.

Now, Open a 540Meg file.

PS will allocate an additional 500 or so Meg. Memory jumps past 2.2G and thrashing starts.

There are long discussions in the beta group on this.

The momory allocation scheme was built-in to speed PS operations. But images are now so large, the the memory manager will have to be redisigned prior to the next generation of imaging, or there will be real trouble.

H
DM
dave_milbut
Feb 3, 2009
PS only releases memory on exit.

or at the request of the operating system.
DE
David_E_Crawford
Feb 3, 2009
Ya, Vista 64 puts a gun to PS CS4 demanding address space.
DM
dave_milbut
Feb 3, 2009
so does xp 32.
HH
Hugh Hansard
Feb 3, 2009
I am not sure about "or at the request of the OS". I used to write OS kernel and MM code. If an app has blocks of heap, it may or may not relinquish it depending on how it is written. The garbage collection daemon rarely has the option to force block release. Most common exceptions are the algorithms for deadlock. MM can force paging, but performance goes through the floor. In CS4, PS maps its tile management scheme onto a 3D model. PS wants blocks to be contiguous for performance. This scheme is already failing. As images get much bigger over the next few years, it will break-down completely. There is a thread where users are experiencing PS allocating 12GB of RAM and then not releasing it upon closing documents. This code architecture was fine when folks shot 8MP cameras. Now it is 21MP, next year 45MP will be released. I regularly do panas at 1.2GB. This architecture will not survive much longer. PS must learn to deal with memory management or folks will simply not use it. Aperature is already gaining market share.

H
DE
David_E_Crawford
Feb 3, 2009
IBM will be building a 20 petaflop linux based computer with 1.6 million cores for the US Department of Energy. If I ever run into PS CS4 memory limitations I am sure the Department of Energy will let me use that computer until Adobe solves the problem. lol……..

I do see your point Hugh.
DM
dave_milbut
Feb 4, 2009
I am not sure about "or at the request of the OS".

it may or may not relinquish it depending on how it is written.

just relaying what chris cox said (recently even). if the os needs ram for another app, photoshop is supposed to honor that request. i don’t work for adobe so i can’t guarantee that statement, but in theory i know it is POSSIBLE that it’s true! 🙂
CC
Chris_Cox
Feb 4, 2009
Photoshop also frees memory when the OS starts paging heavily.

Photoshop works really, really hard to reuse the memory it has (freeing and reallocating is a nasty performance hit).

Some file format plugins allocate buffers outside Photoshop’s memory pool, and opening files with those plugins may thrash memory a bit. We’re also working on a memory problem related to ACR.
DM
dave_milbut
Feb 4, 2009
thanks for the clarity chris! 🙂
BC
Bart_Cross
Feb 4, 2009
Chris: What would happen if there was no memory management in PS?

A memory intensive app like Maya doesn’t use it, nor do a lot of other memory intensive apps and they all seem to work quite well without it.

I always thought that MM in PS was a Mac thing that was put into the Windows version because the early DOS based OSes were crappy at MM, which wasn’t a problem for the NT based OSes.
CC
Chris_Cox
Feb 4, 2009
Bart – without the memory management: Photoshop runs a lot slower (we test it every once in a while), pages a lot more, runs out of memory and fails more often, etc.

The memory management in Photoshop has nothing to do with specific platforms, and everything to do with performance and stability.

Most of what we do is forced by the realities of dealing with large documents, large histories, trying to keep performance reasonable, trying to guarantee results at critical times (do you really want document previews to fail randomly?), etc.
BC
Bart_Cross
Feb 4, 2009
…. but PS doesn’t really control memory on its own, it does work with the OS and negotiates memory needs?
CC
Chris_Cox
Feb 4, 2009
Photoshop works with the OS and negotiates a lot, but retains as much control over our allocated address space as possible. (we can’t allocate address space, or control where it resides in physical RAM, or lots of other bits reserved for the OS and hardware)
DM
dave_milbut
Feb 4, 2009
well, you COULD but the anti-virus companies might not like that! 🙂
BC
Bart_Cross
Feb 5, 2009
CC: That’s what I thought.

dm: …. or any other app that wants memory space. AV, who needs it?
DM
dave_milbut
Feb 5, 2009
AV, who needs it?

dumped vista and running linux now? 🙂
BC
Bart_Cross
Feb 5, 2009
linux: shudder!
GN
Gary_Noonan
Feb 6, 2009
Chris mentions there is a memory problem with camera raw. I was using camera raw a lot to modify files before opening them in Photoshop. Possibly, that use contributed to my running out of memory so Photoshop could no longer open files.
SG
steve_guilhamet
Feb 6, 2009
Hi Gary,

If you care to try a Beta RC to check and see if that indeed helps you’re case, here’s a thread:

<http://www.adobeforums.com/webx?128@@.3bc03c04.59b7a792>

and here’s where to find it:

<http://labs.adobe.com/wiki/index.php/Camera_Raw_5.3>

regards,
steve

Master Retouching Hair

Learn how to rescue details, remove flyaways, add volume, and enhance the definition of hair in any photo. We break down every tool and technique in Photoshop to get picture-perfect hair, every time.

Related Discussion Topics

Nice and short text about related topics in discussion sections