Jump to content
Craig L

Large memory usage when using Publisher

Recommended Posts

I have a problem with Publisher using up nearly 20gb of memory & it's slowing my Mac down.

I have 20gb of free memory on my macbook pro,  the document I am working on in Publisher, is A4 and 120 pages, 90% of which is photographs and according to the info on it, it is 21.1mb. The photos take up less than 1.5gb on my hard drive. As soon as I open the document, my free memory drops like a stone and within 5 minutes, I have less than 1gb free on my mac, this slows it down to an unbearable speed and makes using Publisher a chore.

I can't work like this, as everything is taking far too long. I'm really hope there's a simple solution to this and that someone can point me in the right direction, because I don't want to have to go back to an expensive Adobe subscription for Indesign.

Share this post


Link to post
Share on other sites

Hi Craig L,

Welcome to the Affinity Forums, firstly let me apologise for the delay in responding! Would you be able to upload a copy of your document and the images used (presuming they're linked) to our internal Dropbox account using the link below. We will be able to investigate the issues you are encountering with your document.

https://www.dropbox.com/request/XlgMeXwTMmCwTZ1BruuU

Thanks

Share this post


Link to post
Share on other sites

Hi Craig L,

Thank you very much for the files.

Unfortunately it was crashing for me using the 1.7.3 Mac App Store build, however I was able to use the 1.8 beta and open the file.

When you say Publisher uses nearly 20gb of memory and having less than 1gb left are you referring to Hard Drive space on your Mac? 

If so then I believe this is happening because your system RAM is getting filled up, and is then using your Hard Drive as a swap disk for the additional memory needed for an image heavy document. I found that after opening your document and scanning through the the pages it took up an additional 15gb of HDD Space I had. Any further actions I wanted to do then started to eat into the remaining HDD space.

Unfortunately the only simple 'solution' at the moment is to try and free up (80-100gb if possible!) hard drive space on your Mac. This should help work around the issue in the meantime and hopefully allow you to continue editing your documents. Additional operations will eat up more space, but hopefully you'll have enough to be able to complete the work. Let us know how you get on!

I will get it passed onto development to see if the handling can be improved to stop it taking up as much resources as it currently is. 

Thanks,

Share this post


Link to post
Share on other sites

Hi Sean,

It's eating into my ssd storage. My mac has 121gb of ssd storage, I have 18gb of that free, there's no way I can free up 80-100gb. I'd have to delete everything I have on here, so that isn't a realistic solution.

What is causing this problem? Is it my Mac that's not able to cope with this document, or a problem in Publisher?

Is the only realistic solution to buy a mac with more ssd storage?

Edited by Craig L

Share this post


Link to post
Share on other sites
On 11/3/2019 at 11:03 AM, Craig L said:

Hi Sean,

It's eating into my ssd storage. My mac has 121gb of ssd storage, I have 18gb of that free, there's no way I can free up 80-100gb. I'd have to delete everything I have on here, so that isn't a realistic solution.

What is causing this problem? Is it my Mac that's not able to cope with this document, or a problem in Publisher?

Is the only realistic solution to buy a mac with more ssd storage?

It is due to the large amount of images in the document that are getting put into memory (which is then getting offloaded to the SSD). However we should really be handling this better so it is with development to be looked at.

Development have mentioned that the drive usage for the document tops out at around 25GB, so if you can free up just over that you should be ok for the time being.

Share this post


Link to post
Share on other sites

Sorry, but the math does not add up. I'm having a similar problem. The file in question is 21 mb on disk, exported it's around 300 mb, but it is using 10GB of memory or put another way, 10,000 MB RAM for a document that is a fraction of that and I'm not counting the disk space it is using.

The same thing was happening with the latest release (at the time) of Affinity Photo AND Designer until I reverted to an earlier release. This worked for months until this week I noticed it doing the same. A simple file of 80MB or so will take 8,000MB of RAM. This is not beta software, I've brought this up in the forums before as well as many other people, and I never seem to find an answer. 

I've used Adobe CC, Medibang, Krita, Gimp, Inkscape, DAZ 3d, Sketchup and more on this same system and have never experienced this sort of lag time. I don't think it is a question of our files, but of how Affinity is handling data and how it is holding it in memory. Long after I shut down the programs, the memory stays in use. I still cannot recommend any of your software to my students, but look forward to a day when there is a viable option. 

Share this post


Link to post
Share on other sites

I just encountered this same problem. Publisher is using 20GB of memory! When I open the file the laptop's fans kick on high and the battery is eaten alive. The file I'm working in is 60MB on disk and 188 pages. Nearly all the pages are linked documents and none of them are that large. Most of the graphics are fairly simple vectors. I have 64GB available storage on the SSD.

 

 

Share this post


Link to post
Share on other sites

To follow up on my last post, I split the file into 2 files hoping it would solve the memory issue but it didn't. I have the file open and idle and I'm watching the memory consumption climb using Activity Monitor. My guess is there is a memory leak somewhere.

 

 

Share this post


Link to post
Share on other sites

I've found a workaround for this issue. I took my 188 page book and quartered it into 4 files. Each file consumes roughly 6GB of memory, which is more than manageable for my machine. With that said I don't think  it's a memory leak because all 4 files add up to roughly the same amount of memory consumption to the original file.

To assemble all 4 files into one book I export each file as a PDF and import all the PDFs into a new file by using "Document" > "Add pages from file". The new file with all the pages imported consumes a fraction of the memory. I haven't imported all 4 PDFs yet but I have imported 2 of them and it's only consuming 2.3GB. @Sean P that invalidates the assumption that a file heavy with images is causing the massive memory allocation. I'm a developer and I'm guessing the issue is caused by the individual objects that make up each spread. I'd argue objects should be released from memory if they are not needed for the page being worked on.

I really like this software and I consider myself an early adopter and willing to make sacrifices to my workflow as the product grows. However, if this issue is not addressed in the near term I'll have to abandon it for InDesign.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Please note the Annual Company Closure section in the Terms of Use. These are the Terms of Use you will be asked to agree to if you join the forum. | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.