PDA

View Full Version : PS CS4: "Not enough ram" (WTF)




MBX
Jun 15, 2009, 10:06 PM
I'm trying to open a print still image at size of around 6600x6600 and it's like 22mb and photoshop CS4 is telling me it can't open it because "not enough ram".

Running unibody 17'', 8GB Ram.

WTF? The file is only 22mb. I've been opening far bigger psd files (some were around 500mb).

Opening the 22mb tiff file in preview was absolutely no problem. And when i resized the image to 50% of it's scale for test-purposes i could open it in photoshop.

Any idea why PS is acting this way?



samwich
Jun 15, 2009, 10:47 PM
Photoshop CS4 for the mac is not 64 bit so it can only take advantage of up to 3.3 gb of ram at most (often a little less than that).

Second the size of the psd document does not directly correlate to how much memory it will take up when the document is actually open.

NathanCH
Jun 15, 2009, 10:58 PM
I don't think the fact that it's not 64 bit is the issue primarily because I've opened files much larger in length without problems - even on a system with only 2GB of ram.

Genghis Khan
Jun 16, 2009, 12:34 AM
well unless, anybody has opened images larger than this on a mac...you probably really don't have enough RAM...simple (and unfortunate) as that...

iBookG4user
Jun 16, 2009, 12:53 AM
Have you tried to open the file after a restart? That can usually solve some anomalies such as this one.

chaosbunny
Jun 16, 2009, 04:03 AM
Have you tried to open the file after a restart? That can usually solve some anomalies such as this one.

This... or maybe even restarting Photoshop is enough. I just opened a 8376x7776 px 320 mb file just fine on my 4gb ram iMac, and that's with Illustrator, InDesign and other usual suspects opened too.

I had a similar problem with Illustrator 2-3 times, it couldn't open something and said not enough ram, I just restarted the programm and it worked.

Consultant
Jun 16, 2009, 11:10 AM
Probably incorrect RAM setting. Reset to default settings.

Or contact Adobe?

tbrinkma
Jun 16, 2009, 05:28 PM
I'm trying to open a print still image at size of around 6600x6600 and it's like 22mb and photoshop CS4 is telling me it can't open it because "not enough ram".

Running unibody 17'', 8GB Ram.

WTF? The file is only 22mb. I've been opening far bigger psd files (some were around 500mb).

Opening the 22mb tiff file in preview was absolutely no problem. And when i resized the image to 50% of it's scale for test-purposes i could open it in photoshop.

Any idea why PS is acting this way?

Just a note. Just because the file itself only weighs in at 22MB, doesn't mean doesn't take significantly more memory when PhotoShop converts it to it's native memory structure. Assuming 8 bits per channel, you're looking at roughly 43MB just for the raw image data, and PhotoShop has a good bit of overhead in it's in-memory data structures. At 6600x6600, you've got a fairly large image there. How much RAM did you have free when you tried to open it?

daver11
Jun 16, 2009, 07:35 PM
6600 x 6600 corresponds to a image size of 166.2mb (see screen capture). 8gb of RAM should be more than enough.

Try creating a new file at this size and see how it works. Perhaps there is some problem with the PS file itself...

http://davidrolph.com/166.jpg

IgnatiusTheKing
Jun 16, 2009, 11:47 PM
well unless, anybody has opened images larger than this on a mac...you probably really don't have enough RAM...simple (and unfortunate) as that...

I work on files in the hundreds of MB regularly on a Mac Pro with 6GB RAM. Something is goofy here, and it's not the amount of memory the OP has.

electrolux76
Jun 17, 2009, 08:37 AM
There is probably some data corruption in the file that is giving PS a problem but not Preview. The easiest thing to try, if it is a flat file (no layers) is to open it in preview and then resave it as a .tiff. Make sure to save as tiff, not jpeg so there won't be quality loss. Try to open your new tiff in PS and see if it works. You can do this even if you do have layers in your file but the layers will be flattened.
If this doesn't do it the other thing you could try are(listed in order of pain in the assness):
•Double check that your OS and Photoshop have all their latest updates
•Change the memory allocation settings in photoshop's prefs. I believe its under its under the "performance tab" but I'm not on my machine w/CS4 right now.
• Turning off OpenGL accelaration
• Deleteing PS's prefs file. (homefolder>library>preferences>Adobe Photoshop CS3 Settings>Adobe Photoshop CS3 Prefs.psp
• Reinstalling PS

MBX
Jun 17, 2009, 10:04 AM
No idea what's going on. I restarted many times, still same problem.

As said resizing the file down to 50% works but it's not ideal.

The ram setting is set to 100% and because PS isn't making use of the 8GB it can only go max 3072MB.

I'll try some of the suggestions (settings and turning off OpenGL) soon though.

Thanks

whooleytoo
Jun 17, 2009, 11:01 AM
Could you be running low on disk space? With VM, the more RAM you have the more disk space is required for VM too; along with what Photoshop uses as a scratch disk too.

Snowy_River
Jun 17, 2009, 11:09 AM
No idea what's going on. I restarted many times, still same problem.

As said resizing the file down to 50% works but it's not ideal.

The ram setting is set to 100% and because PS isn't making use of the 8GB it can only go max 3072MB.

I'll try some of the suggestions (settings and turning off OpenGL) soon though.

Thanks

The fact that scaling the image fixes the problem, to me, suggests that the original image is corrupt. You might try scaling the image UP instead of down and see if this works.

It is odd, though, that PS doesn't like it but Preview does. In my experience, PS will read corrupted files more often than Preview.