Ask Your Question

how know much memory cache needed [closed]

asked 2017-07-26 00:59:55 +0200

catbill gravatar image

I am working on a Writer document with track changes enabled. I know that making the changes visible takes less memory but I prefer to work with less clutter and do not want the changes to be visible.

Currently the memory caches are set for 460 MB, 10 MB per object, and 80 objects. The document can still be slow so I am assuming that there are upper settings beyond which it does not matter how much memory is reserved, performance will not improve significantly.

Any insights on how much memory it makes sense to reserve would be appreciated.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by catbill
close date 2017-09-10 18:56:56.037339

1 Answer

Sort by » oldest newest most voted

answered 2017-07-26 07:24:32 +0200

Mike Kaganski gravatar image

updated 2017-07-26 07:30:36 +0200

There are often advises about tweaking Memory options in LO to improve this and that. But actually the settings are rather obsolete, and are considered by many developers as confusing and useless. I'd advise against changes here, because I never met a strong evidence of such changes making measurable good.

Additionally, the Memory tab in LO is about images and objects (like OLE). It's not related to e.g. track changes.

edit flag offensive delete link more


Thank you, Mike for the helpful reply.

My understanding of memory use is quite limited and I would like to understand better. Track changes can be slow, especially when the changes are not made visible. I therefore assumed that it requires significant memory on its own. Additionally, many images and objects require more memory, thus increasing total memory use. Aren't they related in that sense?

Any further insights, especially about enabling track changes to work more quickly?Thanks,

catbill gravatar imagecatbill ( 2017-07-27 04:23:27 +0200 )edit

There is no memory limit in LibreOffice other than system limit. 32-bit LO can use as much memory as possible for 32-bit process (it's ~1.7 GB on Windows). 64-bit LO may use much more. And it will allocate as much memory as required to hold its data (until no more memory available, when it'll either swap excessively, or crash). It will not stop allocating memory because of any Memory tab settings.

Mike Kaganski gravatar imageMike Kaganski ( 2017-07-27 06:50:49 +0200 )edit

Memory tab deals with image/object caches. It controls how long "unused" objects (i.e. those which were unloaded after use) will remain in memory (to quickly become available when user scrolls back to see that graphic again). Those settings don't relate to track changes.

I may only advise to have more memory, use 64-bit LO, and file bug reports about bad performance to our Bugzilla. (A bug report must contain either clear steps how to force LO to become slow, or a sample file to test.)

Mike Kaganski gravatar imageMike Kaganski ( 2017-07-27 06:53:27 +0200 )edit

I have 64-bit LO, 8 gigs of memory, and am working on a 1.3 MB document. Track changes is turned on and show changes is turned off. When I type, there are sometimes delays. Every once in a while, a message comes up saying that the program would work more quickly if show changes were turned on. The fact that such a message exists suggests that there is something about track changes (with show changes turned off) that either takes a lot of memory or that otherwise slows the program.

catbill gravatar imagecatbill ( 2017-07-29 03:08:11 +0200 )edit

I would appreciate some insight about what causes the speed to slow like this and if there is anything I can do to prevent this from happening.

catbill gravatar imagecatbill ( 2017-07-29 03:08:38 +0200 )edit

Question Tools

1 follower


Asked: 2017-07-26 00:59:55 +0200

Seen: 45 times

Last updated: Jul 26