9

Libreoffice 5.1.2.2 (Build 1:5.1.2-0ubuntu1) on Ubuntu 16.04 is freezing for me a lot - just hangs, window shades until maybe 10 minutes later it unfreezes. This happens with Impress, Writer and Calc, for nearly empty, text only documents and larger (but not massive) documents alike. Playing with memory settings seems to help a bit. I'm wondering whether there are any optimal memory settings for Libreoffice, or even what exactly the memory settings actually mean.

Note that another PC running 14.04.3 with up to date Libreoffice also has this problem. I think it must be an older version though - I note that the maximum memory is limited to 256mb, whereas 5.1.2.2 does not seem to to have any limit on maximum value of memory. (nothing to do with physical memory - system running 5.1.2.2 has 8Gb of ram. Other system has 16Gb of RAM).

cuvy
  • 295
  • Did you upgrade either LibreOffice or Ubuntu on those machines, or fresh install? – Jacob Vlijm May 21 '16 at 05:31
  • I now use SAL_USE_VCLPLUGIN=gtk libreoffice --calc, for example, to launch LibreOffice in gtk2 mode. Seems less resource-intensive than the default gtk3 mode. Lubuntu 16.04 upgraded from 14.04, LibreOffice Version: 5.1.2.2 Build ID: 1:5.1.2-0ubuntu. – DK Bose May 21 '16 at 06:03
  • Jacob Vlijm - Fresh installs, and only updates as would have been pushed out through the official repos through the software updater. – cuvy May 23 '16 at 08:02
  • I experience similar issue after moving up to version 5.1. Also the headless instance we use in our backend process to build and/or convert documents seems to be affected. After the upgrade the same process takes 15(!!!) minutes to build a 30-page long document. – oᴉɹǝɥɔ Jun 06 '16 at 20:36
  • See https://askubuntu.com/a/975945/80997 – Lari Hotari Feb 26 '18 at 07:20

2 Answers2

7

Uninstalling libreoffice-gtk* made a significant difference for me. The drawback is that the UI integration would go away.

sudo apt-get remove libreoffice-gtk*

It seems to be a known bug: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1577093

Gorka
  • 295
0

Give libreoffice more dedicated space to work with. "Tools", "Options", "Memory", (use for libreoffice - increase to 1000mb (or whatever is more than you now have) Also change "remove from memory" to 5 minutes. Then go to "Load Save General" and make "Autosave" every three minutes. Ubuntu is cool. Libreoffice is cool. Enjoy!