PHOTOSHOP: I am very confused about memory usage

  • 1
  • Problem
  • Updated 4 years ago
  • (Edited)
photoshop always force close and used a lots of ram, why reading a 300mb psd will eats 8gb memory? even a next-gen 3d game wont do that!!! optimize it!!!!
Photo of Kang Ming Chua

Kang Ming Chua

  • 3 Posts
  • 0 Reply Likes
  • frustrated

Posted 4 years ago

  • 1
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 812 Reply Likes
The file on disk is compressed. Photoshop only uses as much RAM as your image (and any presets you loaded) requires. But that image will be expanded in memory, and can include history states.

Photoshop is heavily optimized to reduce it's memory usage. But Photoshop has to use the memory that your document require. Yes, 8 Gig of RAM usage is rather common for people editing large images or images with many layers.

There is no need to close Photoshop - since Photoshop will keep reusing the memory that it has allocated.

P.S. Even 10 year old games can easily use more than 8 Gig of RAM.
Photo of Kang Ming Chua

Kang Ming Chua

  • 3 Posts
  • 0 Reply Likes
My PC has 16gb RAM.

Now in the performance settings, I reduce the memory usage from 10k mb to less than 1k mb. Then the issue is gone. This is a very extreme case, but it definitely is an serious issue.

I'm a gamer, and a programmer, and photoshop user since CS4, I know the what really causes the problem, so don't give any PR response to me, face the issue, raise the issue to the development team.
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 812 Reply Likes
No, you just slowed Photoshop way down.
Set the memory percentage back around 70% or so.

Again, there is no real problem here, just your misunderstanding of file sizes and the size of the uncompressed image data in memory. And you might not understand the "allocate and reuse" strategy for applications that use a lot of memory and are performance sensitive.

And you should take a few minutes to read the credits on Photoshop more carefully.
Photo of Kang Ming Chua

Kang Ming Chua

  • 3 Posts
  • 0 Reply Likes
Sorry for not making this discussion clear.

The main issue here is, when the photoshop uses alot of RAM in my system, which is around 70% as the default settings, photoshop will start to have FORCE CLOSES AND CRASHES, so I have to reduce the memory usage.

And I compare the speed of opening a 600 mb psd using 1gb memory usage vs 10gb memory usage, not much difference, but 10gb crashes alot (after opening document / save document / change image size)
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 812 Reply Likes
Photoshop does not normally crash due to low RAM, because Photoshop carefully manages it's RAM usage. The only thing we've seen crash often due to RAM usage is third party plugins (where the authors failed to read the SDK about how to allocate memory).

Most likely you are seeing crashes due to something else (video driver, third party plugin, etc.).

Have you checked the event log to see the details of your crashes, most importantly the name of the faulting module?