Memory exception cannot be right. I suspect a bug or some internal malloc limitation in your code

Running on Windows 10, latest release (22H2, OS build 19045.3208).

My PC has 48GB of RAM. Windows Task Manager tells me that I’m using only 39% of that. And, yet, I’m getting this error.

Photo AI gives me the following error in a pop-up…
“Exception while applying lens correction: OpenCV(4.5.6) C:.conan\918058\1\source_subfolder\modules\core\src\alloc.cpp:73: error: (-4:Insufficient memory) Failed to allocate 90882048 bytes in function ‘cv::OutOfMemoryError’”

The NEF file in question is 51.6 MB in size. Allocating 91MB should still leave over half of my PC’s memory free.

So, let’s find out what’s wrong. I have never had a problem like this before. All of my raw files are about the same size.

Regards,
Steve

@stevennoelroth Thanks for reaching out.

Please upload the log files so I can see what’s going on in the application. To do that, open Topaz Photo AI and go to the Help > Open Log Folder menu option and drag and drop the files to a reply here.

In the meantime, try manually selecting the GPU/CPU to use for processing. Go to the Topaz Photo AI Menu option > Preferences > General menu > AI Processor. Give both a try and see if there’s a noticeable difference in performance.





|

tim.he Tim He Product Specialist
July 21

|

  • | - |

@stevennoelroth Thanks for reaching out.

Please upload the log files so I can see what’s going on in the application. To do that, open Topaz Photo AI and go to the Help > Open Log Folder menu option and drag and drop the files to a reply here.

In the meantime, try manually selecting the GPU/CPU to use for processing. Go to the Topaz Photo AI Menu option > Preferences > General menu > AI Processor. Give both a try and see if there’s a noticeable difference in performance.

2023-07-16-17-26-46.tzlog (371 KB)

2023-07-16-18-21-45.tzlog (499 KB)

2023-07-16-21-57-35.tzlog (640 KB)

2023-07-18-11-17-3.tzlog (26 KB)

2023-07-18-11-20-29.tzlog (76.4 KB)

2023-07-18-11-47-29.tzlog (70.6 KB)

2023-07-18-11-50-33.tzlog (146 KB)

2023-07-21-10-39-47.tzlog (655 KB)

Topaz Photo AI Installer Log.txt (1.63 MB)

2023-07-16-09-40-4.tzlog (1.1 MB)

2023-07-16-10-00-1.tzlog (847 KB)

Does it happen consistently with the NEF file? I looked over a few of the logs but didn’t find the error in them.

If you can reproduce the issue please send me the file through Dropbox and the log for the recent session as well.

Only with NEF files. But not since the last update.

Please let us know if it happens again.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.