Nature Photographers Network
This is the preserved archive of the original Nature Photographers Network. The community continues at naturephotographers.network.

Photoshop Says "Not Enough RAM" to save for web

Discussion

6 replies
Posted by Pete D on December 29, 2006 at 12:38 PM
I have 2 gB of RAM. Running only Photoshop V8.0 (and whatever background stuff that's invisible to me), the software decided it didn't have enough RAM to execute the "save for web" procedure. This seems a little unreasonble to me. Any ideas?

Pete D.
Posted by Guy Tal on December 29, 2006 at 12:53 PM
"Save for Web" is actually a separate piece of software that is executed from within Photoshop so it's likely that Photoshop itself if hogging all the memory and not leaving enough for the "Save for Web".

For an immediate fix, you can use Photoshop's own "Save As" function to save the JPG and make sure you don't lose the file. Longer term you may want to reduce the percentage of RAM Photoshop is allowed to take up and/or restrict the length of history Photoshop keeps (which is eating up a lot of memory). Both settings are accessible through the "Preferences" option.

Guy
Posted by Pete D on December 30, 2006 at 3:43 AM

I had it set to use up to 75% of the RAM and to keep 20 History States - is that excessive?
Posted by Marc Brousseau on December 30, 2006 at 3:09 PM
Check how much free space you have on the drive that window is using for the ram. you may find that its getting full. If that is the case you can redirect windiws to use an other drive where you have free space (i.e. 1G or more). I've done this to my setup and it has eliminated all my ram problems.

Good Luck,

MarcB
Posted by Pete D on December 31, 2006 at 1:53 PM
Marc - is that the "scratch drive?"
Posted by Preston Birdwell on December 31, 2006 at 7:27 PM
Pete,

I think that Marc is referring to the amount of RAM allocated to PS. If you go to Edit>Preferences and then select "Memory and Image Cahe" from the list, it will show you how much total RAM you have along with the amount currently assigned to PS.

For example, on my system I have a total of 906 MB (1GB). PS is allocated 498 MB, or about 55%. So far I haven't had any problems with editing files as large as 400MB. I do close other programs, though, so that PS is the only application that is running.

The 'Scratch' disk can be assigned from Edit>Preferences and then selecting "Plugins and Scratch Disks" from the list. Best performance is obtained by selecting a completely separate physical drive, if you have one. Barring that, you can set the Scratch Disk to a logical partition, if your drive is partioned. There is no way to set the amount of HD space used for the Scratch Disk--PS takes what it needs. If the drive you use for your Scratch Disk is getting full, you might consider uninstalling programs you no longer need and/or moving document files to another storage medium to free up some space

I hope this helps, and Happy New Year, Pete. :smile:

-PB
Posted by Paul Skoczylas on January 3, 2007 at 2:41 PM
Did you remember to downsize the image first? SaveForWeb is designed to work on smaller images, of the size you'd put on the web, like 1000 pixels wide or less. In PSE3, if I accidentally click on SaveForWeb before downsizing, it gives me a big warning: "Are you really, really, sure..." and suggests that memory may be a problem. I remember in PSE1, it didn't have that warning, and if I accidentally clicked on SaveForWeb before downsizing, it took a LONG time to bring up the window (and couldn't be cancelled in the process).

-Paul