18 GB memory consumption for PDF-XChange Editor?

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Post Reply
User avatar
David.P
User
Posts: 1510
Joined: Thu Feb 28, 2008 8:16 pm

18 GB memory consumption for PDF-XChange Editor?

Post by David.P »

Since my computer showed a strangely slow reaction just now, I took a look at Process Explorer and was somewhat shocked.

image.png

For once, I haven't even done much with PDF-XChange Editor today. While I have some files with a total of ~5000 pages open, I have not yet displayed many of these pages today, thus transferring them to the page image cache.

While I have searched for text through most of these files, I believe this should not occupy such huge amounts of RAM cache.
Attachments
image2.png
image1.png
David.P
PDF-XChange Pro
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3549
Joined: Thu Jul 08, 2004 10:36 pm
Location: Vancouver Island - Canada
Contact:

Re: 18 GB memory consumption for PDF-XChange Editor?

Post by Ivan - Tracker Software »

How much memory do you have in your system?
Tracker Software (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
User avatar
David.P
User
Posts: 1510
Joined: Thu Feb 28, 2008 8:16 pm

Re: 18 GB memory consumption for PDF-XChange Editor?

Post by David.P »

Hi Ivan, I have 32GB RAM.

Interestingly, the slowness of the system did not subside after I closed PDF-XChange Editor, but only after I also restarted Google Chrome.
David.P
PDF-XChange Pro
User avatar
David.P
User
Posts: 1510
Joined: Thu Feb 28, 2008 8:16 pm

Re: 18 GB memory consumption for PDF-XChange Editor?

Post by David.P »

Here I have recorded the memory usage with a document of 4700 pages.

  • 77 MB after opening PDF-XChange Editor
  • 164 MB after opening the file [1]
  • 2.1 GB after searching the file for text [2]
  • 7 GB after loading all thumbnails into RAM cache (albeit in small size) [3]
  • 20 GB after loading 673 of the 4700 pages into RAM cache (on 4k monitor) [4]
Image


Although it is probably not quite comparable, an earlier version of PDF-XChange Editor seems to have used less memory at first glance:
Image
https://forum.pdf-xchange.com/viewtopic.php?f=62&t=29413&hilit=gb+ram#p115519

I was about to try the same procedure with the (portable) previous version 9.1.356.0 of PDF-XChange Editor, by exporting the settings from the current (installed) version 9.2.357.0 and importing them into the portable (previous) version, and then following the same steps as above.

However, the portable version does not seem to cache the thumbnails and pages once displayed, despite having the same settings, even in the "Performance" section. Therefore, I could not perform the test run with the portable (previous) version 9.1.356.0.

I routinely work with PDF files of this size all day long, and have never had the problem of such high memory usage, even to the point of crashing somewhere above 20 GB.

These are my performance settings, which I have been using for a long time like this:

Image

Another related thread is here:
https://forum.pdf-xchange.com/viewtopic.php?f=62&t=29413&hilit=gb&start=50#p131224
Image
Last edited by David.P on Sun Nov 21, 2021 1:01 pm, edited 4 times in total.
David.P
PDF-XChange Pro
User avatar
TrackerSupp-Daniel
Site Admin
Posts: 8436
Joined: Wed Jan 03, 2018 6:52 pm

Re: 18 GB memory consumption for PDF-XChange Editor?

Post by TrackerSupp-Daniel »

Hello, David.P

Thank you for confirming. To begin I note that you said you are currently using build 357, though I expect it will be the same, I do need to ask you to confirm if you can reproduce the issue in the latest release (9.2.358.0).

Your earlier mention of a possible relation to Google Chrome reminded me that the 358 release did have a few minor changes to our browser extensions, so it is possible that something has changed that could impact this in some way, and so updating is doubly important for this case.

Kind regards,
Dan McIntyre - Support Technician
Tracker Software Products (Canada) LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
User avatar
David.P
User
Posts: 1510
Joined: Thu Feb 28, 2008 8:16 pm

Re: 18 GB memory consumption for PDF-XChange Editor?

Post by David.P »

Here is the same with the latest version 9.2.358.0:

  • 120 MB after opening PDF-XChange Editor
  • 226 MB after opening the file
  • 2.0 GB after searching the file for text
  • 7 GB after loading all thumbnails into RAM cache (albeit in small size)
  • 20.5 GB after loading 673 of the 4700 pages into RAM cache (on 4k monitor)
Image
Last edited by David.P on Sat Nov 20, 2021 12:58 pm, edited 2 times in total.
David.P
PDF-XChange Pro
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3549
Joined: Thu Jul 08, 2004 10:36 pm
Location: Vancouver Island - Canada
Contact:

Re: 18 GB memory consumption for PDF-XChange Editor?

Post by Ivan - Tracker Software »

As I see, you are allowed to use up to 75% of your memory (24GB of your 32GB) and never clean it up (lifespan set to Maximum).
So, where's the problem?
Tracker Software (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
User avatar
David.P
User
Posts: 1510
Joined: Thu Feb 28, 2008 8:16 pm

Re: 18 GB memory consumption for PDF-XChange Editor?

Post by David.P »

Yes Ivan that is correct. However as I wrote:
David.P wrote: Tue Nov 16, 2021 9:23 pm I routinely work with PDF files of this size all day long, and have never had the problem of such high memory usage, even to the point of crashing somewhere above 20 GB [as today].
Particularly, I've never had to stop scrolling at a point a few hundred pages deep into my document because memory was way over 20 GB already, as has happened today.

In comparison to an earlier version, where I experienced this:
David.P wrote: Sun Feb 03, 2019 9:54 pm Below is a screenshot from Task Manager showing PDF-XChange Editor using almost 22 GB of RAM (on a 32 GB system):

Image

This is a thousand pages PDF file displayed on a 4K screen, after all pages, all thumbnails and all text have been loaded into RAM
I shall report whether I see this happening more often with the latest PXE version.
David.P
PDF-XChange Pro
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3549
Joined: Thu Jul 08, 2004 10:36 pm
Location: Vancouver Island - Canada
Contact:

Re: 18 GB memory consumption for PDF-XChange Editor?

Post by Ivan - Tracker Software »

We will check which changes may cause that and will try to mitigate the issue where it is possible.
Tracker Software (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
User avatar
David.P
User
Posts: 1510
Joined: Thu Feb 28, 2008 8:16 pm

Re: 18 GB memory consumption for PDF-XChange Editor?

Post by David.P »

And here is the same run with version 9.1 build 356.

  • 120 MB after opening PDF-XChange Editor
  • 253 MB after opening the file
  • 1.7 GB after searching the file for text
  • 6.5 GB after loading all thumbnails into RAM cache (albeit in small thumbnail size)
  • 19.4 GB after loading 673 of the 4700 pages into RAM cache (on 4k monitor)
I have no screenshot this time because Process Explorer crashed after the experiment.

However, the process and the resulting figures are almost the same as when carrying out the test with the latest version 9.2 build 358 (see above).
David.P
PDF-XChange Pro
User avatar
Paul - Tracker Supp
Site Admin
Posts: 6829
Joined: Wed Mar 25, 2009 10:37 pm
Location: Chemainus, Canada
Contact:

Re: 18 GB memory consumption for PDF-XChange Editor?

Post by Paul - Tracker Supp »

Thanks for the added details David, we will do the best we can with what we have here.
Best regards

Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
User avatar
David.P
User
Posts: 1510
Joined: Thu Feb 28, 2008 8:16 pm

Re: 18 GB memory consumption for PDF-XChange Editor?

Post by David.P »

Thanks Paul -- perhaps the observations are indeed normal, and nothing significant has changed with memory consumption after all. I shall occasionally run the same test with a considerably older version of PDF-XChange Editor and report back here, to see if memory consumption has indeed increased significantly.
David.P
PDF-XChange Pro
User avatar
TrackerSupp-Daniel
Site Admin
Posts: 8436
Joined: Wed Jan 03, 2018 6:52 pm

18 GB memory consumption for PDF-XChange Editor?

Post by TrackerSupp-Daniel »

:)
Dan McIntyre - Support Technician
Tracker Software Products (Canada) LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
Post Reply