Memory leak when batch processing images: not quite resolved in v3.0.4/Mac

Searched for this issue, found “batch-processing-memory-leak-macos-application-runs-out-of-memory/64875”, which is marked as resolved and no longer allows for replies. I’m still seeing a memory leak, albeit in a slight different context.

Photo AI version 3.0.4, M1 Mac Mini, MacOS Sonoma 14.4.1

I’m denoising a set of raw images from a Nikon D850. Input files are in NEF format, size per file is in the 60MB-64MB range. I’m saving them as JPEG with quality 95. Output file sizes are in the 7MB-8MB range. My process:

  1. Select 10 images in the Finder and drag/drop them onto Topaz Photo AI
  2. Click “Select all”
  3. Select menu item File → Save
  4. Select Format:JPEG, Quallity:95 (already preselected after doing this the first time)
  5. Click the “Save” button.
  6. Wait for all images to be processed
  7. Click “Close Window” (closing the window takes 5.5 seconds after clicking the button)
  8. Select menu item File → Close all images and click “OK” in the dialog
  9. Check the memory usage of Topaz Photo AI in MacOS’s Activity Monitor
  10. Go to step 1 for the next batch of 10 images

I find that for each iteration, the memory usage of Topaz Photo AI as monitored in step 9 increases by about 3GB. Eventually, the system runs out of application memory and brings up the “Force quit” dialog to select an application to quit.

2 Likes

Please follow the instructions below to perform a clean install to better troubleshoot why you had this problem with Topaz Photo AI:

Start by clearing any previous plist files that are on your computer for Topaz Photo AI by following the steps in the link below:

Topaz Photo AI | plist Files Mac

After you have done this, disable any antivirus, firewall, VPN, or proxy software that might be active on your computer. These tools are sometimes known to interfere with the installer’s ability to download the model files.

Please also ensure that the Topaz Photo AI installer has all the proper settings in your system by going to your Mac System Settings > Privacy & Security tab and scrolling down to the security section. You will want to make sure you have 'App Store and identified developers ’ selected. Here is a video example:

Example of Proper System Preferences

Finally, rerun the installer. You can download a new installer from the downloads page directly :

Topaz Labs Download Page

Let me know how that goes for you and I’ll keep an eye out for your reply.