erroneous "there is not enough memory" error

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
xyplorerköln
Posts: 179
Joined: 01 Jan 2016 18:59

erroneous "there is not enough memory" error

Post by xyplorerköln »

Steps to reproduce on Windows 10 Pro version 1909 (build 18363.657):

1. Have a .pdf saved in a directory and open in Adobe Acrobat Pro DC.
2. In XYplorer, navigate to the directory which stores the open .pdf.
3. Attempt to rename the .pdf.

Windows will report: "There is not enough memory to complete this operation."

Annotation 2020-03-20 164847.png

However, this is not true. No amount of memory usage reduction resolves the issue; however, upon closing Adobe Acrobat Pro DC, the file can be renamed immediately. Further, while the file is open, if the user attempts to rename it using Windows File Explorer, the correct error (the file is in use) is shown.

Therefore, the wrong error is being shown when using XYplorer to attempt to rename the file. The error should report that the file is in use and cannot be renamed; however, it erroneously reports that "There is not enough memory to complete this operation."
To see the attached files, you need to log into the forum.

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: erroneous "there is not enough memory" error

Post by admin »

Ok, but this erroneous message is popped by Windows, not by XYplorer, hence it's a Windows bug.

xyplorerköln
Posts: 179
Joined: 01 Jan 2016 18:59

Re: erroneous "there is not enough memory" error

Post by xyplorerköln »

Agreed. However:

If the file rename is attempted in Windows File Explorer, the correct error is shown.
If the file rename is attempted in XYplorer, the incorrect error is shown.

This being the case, it would seem to me that Windows is reading the wrong status from what XYplorer is doing. Is there a way to remedy this? (In other words, why does Windows flag what XYplorer is doing as a memory-exhausted issue when it's not?)

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: erroneous "there is not enough memory" error

Post by admin »

But XY is not doing much here. You said the file is opened by Adobe Acrobat Pro DC. Opened or previewed?

xyplorerköln
Posts: 179
Joined: 01 Jan 2016 18:59

Re: erroneous "there is not enough memory" error

Post by xyplorerköln »

The file is opened in Adobe Acrobat Pro DC.

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: erroneous "there is not enough memory" error

Post by admin »

Then the deeper cause of the bug might be in Adobe, or more exactly in Adobe's 32-bit shell extensions.

Use PDF-XChange (the free Viewer) and say bye-bye to all those problems.

xyplorerköln
Posts: 179
Joined: 01 Jan 2016 18:59

Re: erroneous "there is not enough memory" error

Post by xyplorerköln »

The test case was a specific example to elicit repro, but the error occurs with any application I've tried that locks the .pdf file, including Tracker PDF-XChange. So, for example:

Steps to reproduce on Windows 10 Pro version 1909 (build 18363.657):

1. Have a .pdf saved in a directory and open in Tracker Software PDF-XChange.
2. In XYplorer, navigate to the directory which stores the open .pdf.
3. Attempt to rename the .pdf.

Windows will report: "There is not enough memory to complete this operation."

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: erroneous "there is not enough memory" error

Post by admin »

Okay, then XY uses a different way (than Windows File Explorer) to rename the file. But still the error message comes from Windows. It's clearly a Windows bug.

RalphM
Posts: 2143
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: erroneous "there is not enough memory" error

Post by RalphM »

I just tried the same with PDF XChange Editor and it resulted in the "File in use" message I would expect in this situation.
Ralph :)
(OS: W11 26H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)

Post Reply