Skip to main content
Known Participant
July 23, 2023

P: Remove Tool and RAM usage

  • July 23, 2023
  • 46 replies
  • 5697 views

Hello, 

I don't know if it's a normal behavior, but when I use the new "Remove Tool", my memory usage is going crazy : In the task manager it takes 20Go of RAM, and it takes 18Go more on my scratchdisk.
Even if I do teeny strokes on an white layer.
Here is a video (2min) link to show the PS usage, the task manager, and explorer for the scratchdisk (SSD).

https://youtu.be/qToMtrUmm-0

I tried to use all the others tools, and the RAM usage is "normal". For example : 50 clicks with spot removal and photoshop uses only 5Go RAM, and 0Go scractchdisk.

Is it normal ?

Thank you !

46 replies

Participant
May 11, 2024

I tried using the PSUserConfig.txt way to force PS not to use Windows Ink but no change... But I found another interesting thing. If I turn off the button on the toolbar that says "Always use pressure for size" I don't get these hangs and the memory climbing until all the Ram on the pc is used. So I can't use pen pressure but that's kinda the point of using a pen, to be able to use pressure and tilt. 

Participant
March 6, 2024

In addition to my previous findings I sometimes get message that Photoshop could not complete the function when using the Remove Tool.

 

I had tried disabling the on board Intel HD graphics 630 GPU so leaving only the Nvidia M2000 GPU working but this made no difference.

 

Found an Adobe video on forcing Photoshop to use the GPU card by going into 'Grapics Settings' in Windows 10, then browsing to the Photoshop .exe and then allocating it to high performance (in my case M2000 GPU) via the 'options' button. Then repeating the process with sniffer.exe from the same folder as photoshop.exe and allocating to high performance via the 'options' button. Unfortunately this did not make any difference. I found another video that had the same method as in the Adobe video but had an extra step namely allocating the 'PhotoshopPrefsManager' to the M2000 GPU also. To my surprise this did appear to cure the problems with the Remove Tool however I found that the GPU had problems opening any raw files.

 

At this point I decided to check if Nvidia had released an updated driver for the Quadro M2000 (in my previous report here I  was using their then current driver) and found they had just released an updated driver. I found installing this driver cured the problems with the Remove Tool and I was able to open Raw files. I removed  'PhotoshopPrefsManager' from the 'Graphics Settings' and found the Remove Tool continued to function correctly and raw file operation was still OK. One other point I found certain functions in Camera Raw worked better in particular the new 'Lens Blur' feature which was much more stable.

benj_vAuthor
Known Participant
March 3, 2024

Here are my last tests, mouse or tablets does the same problem for me apparently. I'm using PSUserconfig.txt, maybe that's why. Are you using it too ?

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Left : Total ram used, Right : Difference

 

Each stroke of this tool is storing in ram a "similar" amount of data, even a tiny stroke (small click with small radius).

Participant
March 3, 2024

After your message that a memory leak in Photoshop occurs when using a graphics tablet. I conducted an experiment. I found out that when using the mouse, everything works as expected. No freezes or memory leaks. I have a Wacom Intuos Pro tablet.

Participant
February 25, 2024

I have had this issue for a while, unable to update Photoshop past 25.1 since it makes the remove tool hang while increasing the memory usage of photoshop to the max of the installed ram and then after a while of Photoshop being completely unresponsive, I get an error message saying the program could not finish the operations due to insufficient ram. I have been updating the Beta versions and checking if the issue got resolved but no luck there but I suddenly stumbled upon something. I can not produce this issue when using a mouse. I always use a pen and tablet so it had never occured to me until one day I had forgotten to charge my tablet and used a mouse. I suddenly realized that I was working on the latest beta that should have produced the issue but it didn't. I have gone through testing since then, I can't use my Xencelabs tablet with the remove tool on any versions past 25.1. I have updated the Xencelabs drivers, reset them to default, completely removed the device and reinstalled it, makes no difference. I wonder if others experiencing this issue with the remove tool are using some peripheral that produces the issue? 

Kevin Stohlmeyer
Community Expert
Community Expert
December 20, 2023

@GCWB yes as @D Fosse mentioned the team is investigating to determine specifics. Your posts help. Thank you.

GCWB
Participating Frequently
December 20, 2023

As promised.

 

A memory leak crash just happened. I'll be using Remove tool & then suddenly I'll see the loading bar at the top with no progress, this will not move. Activity monitor will then show a constant spike of RAM/memory (about 5GB+ a second) until it reaches about 200GB of memory & then Photoshop becomes fully unresponsive.

 

I notice you just merged my thread with this one. 

Known Participant
December 17, 2023

getting crashes and memory leaks around every 5th time I use the remove tool. simply not functional

Participating Frequently
December 11, 2023

Got it, thanks appreciate all your help. Sorry for my misinterpretation 

 

Participant
November 5, 2023

Running Photoshop 25.1.0 on HP ProDesk 400 G4MT with Windows 10 Pro Build 19045 installed. PC has 16GB of RAM and Nvidia Quadro M2000 GPU (4GB) installed. When using the Remove Tool on a 35M pixel jpeg I find that photoshop crashes after a number of applications of this tool. The problem appears to be PC ram usage. Monitoring ram usage using the Windows Task Manager I find the following:

1) PC running no applications open 28% ram usage

2) Photoshop running without image open image - 49% PC ram usage

3) Photoshop running with 35M pixel image opened - 51% ram usage

4) Remove Tool used to remove relativel small area - 56% ram usage does not jump back down after process completed.

6) Each time Remove Tool used PC ram usage jumps by 6% - 10% and does not return back down after process. Each application of Remove Tool increases PC ram usage.

7) When PC ram usage above 80% there is tendency for Photoshop to crash (and sometimes also the PC).

Found deleting history steps has no effect on the problem. Also closing image without saving it has no effect on ram usage. Saving image did seem to drop ram usage.

 

In Photoshop Preferences 'Remove Tool Processing' set to 'More Stable'.

Not sure if this was a problem in version 25.0 but never had a problem like this in version 24.

Any suggestions much appreciated.

 

Participating Frequently
December 11, 2023

I am using Win 11 with 64GB RAM and having the same problem—"Could not complete your request because there is not enough memory (RAM)" after only the second application of the remove tool. Photoshop freezes and will not come back for up to several minutes, then the error message appears. I have release ver. 25.2.0 and the problem also occurs when using the Beta version. This is new behavior only recently. When first released the remove tool functioned perfectly.

Kevin Stohlmeyer
Community Expert
Community Expert
December 11, 2023

@davescm appreciate the assist. For us - our Intel Macs have 64 GB total RAM with Photoshop set for default ~70% usage. In order me to replicate this - we have to either accelerate usage of the tool or wait until later in the day where the RAM builds up enough (and does not release after doc closes) from continued usage to cause the issue.