Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

CS4 64 version using 5.6 gigs memory w no open photos

4 views
Skip to first unread message

Gary_...@adobeforums.com

unread,
Jan 20, 2009, 9:47:59 PM1/20/09
to
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?

Jim

unread,
Jan 20, 2009, 9:58:08 PM1/20/09
to

<Gary_...@adobeforums.com> wrote in message
news:59b79...@webcrossing.la2eafNXanI...
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


Robert_...@adobeforums.com

unread,
Jan 21, 2009, 6:44:13 AM1/21/09
to
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

Chri...@adobeforums.com

unread,
Jan 20, 2009, 11:18:06 PM1/20/09
to
You don't have to close Photoshop - it does reuse the memory.

What exact error did you receive, from which application?

John Joslin

unread,
Jan 21, 2009, 5:04:13 AM1/21/09
to

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.

Gary_...@adobeforums.com

unread,
Jan 21, 2009, 11:08:45 PM1/21/09
to
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.

Gary_...@adobeforums.com

unread,
Jan 21, 2009, 11:16:26 PM1/21/09
to
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.

Myle...@adobeforums.com

unread,
Jan 22, 2009, 2:11:56 AM1/22/09
to
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

steve_g...@adobeforums.com

unread,
Jan 22, 2009, 2:37:29 AM1/22/09
to
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

John Joslin

unread,
Jan 22, 2009, 2:42:21 AM1/22/09
to
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=kb404439&sliceId=1>

Gary_...@adobeforums.com

unread,
Jan 23, 2009, 8:32:45 PM1/23/09
to
Hi, camera raw 5.2. Camera is Canon Xsi. I convert the Canon CR2 filfes into dng files before opening dng in camera raw.

Gary_...@adobeforums.com

unread,
Jan 23, 2009, 8:34:42 PM1/23/09
to
The memory range is the default range that Photoshop installed itself with and is within the "Ideal Range".

Hugh Hansard

unread,
Feb 2, 2009, 2:36:25 PM2/2/09
to
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

dave_...@adobeforums.com

unread,
Feb 2, 2009, 7:34:07 PM2/2/09
to

PS only releases memory on exit.


or at the request of the operating system.

David_E_...@adobeforums.com

unread,
Feb 2, 2009, 10:30:41 PM2/2/09
to
Ya, Vista 64 puts a gun to PS CS4 demanding address space.

dave_...@adobeforums.com

unread,
Feb 3, 2009, 7:51:49 AM2/3/09
to
so does xp 32.

Hugh Hansard

unread,
Feb 3, 2009, 3:52:34 PM2/3/09
to
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

David_E_...@adobeforums.com

unread,
Feb 3, 2009, 5:25:59 PM2/3/09
to
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.

dave_...@adobeforums.com

unread,
Feb 3, 2009, 7:50:19 PM2/3/09
to

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! :)

Chri...@adobeforums.com

unread,
Feb 3, 2009, 9:41:09 PM2/3/09
to
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.

dave_...@adobeforums.com

unread,
Feb 4, 2009, 8:21:42 AM2/4/09
to
thanks for the clarity chris! :)

Bart_...@adobeforums.com

unread,
Feb 4, 2009, 1:06:49 PM2/4/09
to
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.

Chri...@adobeforums.com

unread,
Feb 4, 2009, 4:18:31 PM2/4/09
to
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.

Bart_...@adobeforums.com

unread,
Feb 4, 2009, 4:29:40 PM2/4/09
to
... but PS doesn't really control memory on its own, it does work with the OS and negotiates memory needs?

Chri...@adobeforums.com

unread,
Feb 4, 2009, 5:58:56 PM2/4/09
to
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)

dave_...@adobeforums.com

unread,
Feb 4, 2009, 6:34:58 PM2/4/09
to
well, you COULD but the anti-virus companies might not like that! :)

Bart_...@adobeforums.com

unread,
Feb 5, 2009, 6:41:51 AM2/5/09
to
CC: That's what I thought.

dm: .... or any other app that wants memory space. AV, who needs it?

dave_...@adobeforums.com

unread,
Feb 5, 2009, 7:53:08 AM2/5/09
to

AV, who needs it?


dumped vista and running linux now? :)

Bart_...@adobeforums.com

unread,
Feb 5, 2009, 8:52:11 AM2/5/09
to
linux: shudder!

Gary_...@adobeforums.com

unread,
Feb 5, 2009, 7:29:55 PM2/5/09
to
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.

steve_g...@adobeforums.com

unread,
Feb 5, 2009, 7:46:39 PM2/5/09
to
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

0 new messages