Score:1

LibreOffice Calc constantly locking as it does unknown memory churn

gi flag

See my screenshot below. Memory monitor, top right of screen, shows several massive spikes of memory use. During these periods, the entire computer locks, and nothing can be done. These spikes last for several seconds, and happen two or three times a minute. This only happens when I'm using LibreOffice Calc, and it makes it unusable.

Has anybody else experienced this? What is the fix?

screenshot

Nate T avatar
it flag
Libre office can be attached to GDB. [This](https://wiki.documentfoundation.org/Development/How_to_debug) may help.
Score:1
cn flag

Your description suggests that you have inadequate RAM for your usage.

  • The sluggishness matches the description of they system using "swap" memory on disk (instead of RAM). The system uses swap only when enough RAM is unavailable (that's an oversimplification, but still reasonably accurate).

  • Your screenshot shows TWO web browsers open. Web browsers are notorious RAM hogs. Script-heavy pages like Facebook --and other social media apps-- suck up enormous amounts of RAM. LibreOffice tends to use a lot of RAM, too...especially with complex calculations, formatting, macros, and scripts.

What you can do:

  1. Learn how to use the simple command free to monitor your RAM and Swap use. Any Search engine will tell you how. So will the Search box at the top of this page. So will man free.

  2. Be patient when your system starts to swap and becomes sluggish. DON'T hold down the power button -- that just causes more problems. Instead, patiently close RAM-hungry application, one by one, until swapping ceases.

  3. Better yet, you can anticipate swapping...that's why you learned how to use free: So you know how much RAM you have available, and can adjust your workflow appropriately.

  4. You can probably add more RAM to your system, of course.

Obviously, if you have the LibreOffice scripting skills, you can figure out WHY your spreadsheet consumes so much RAM, and edit the spreadsheet to be more memory-friendly. However, teaching you those skills is well beyond the scope of a simple AskUbuntu question. (The LibreOffice folks might like to teach it)

It's also possible that you have discovered a bug in LibreOffice Calc. However, verifying that bug also requires a certain skill set. Teaching you those skills is well beyond the scope of a simple AskUbuntu question.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.