LibreOffice becomes laggy/crashes when documents exceed ~6k words/~85 kB

I switched from Google Docs to LibreOffice about a year ago, and for the most part, I’m really happy with it. But one problem I’ve discovered is this: when my documents begin to exceed around 6k words (85 kB), the program becomes extremely laggy, sometimes outright crashing. God forbid I try to attach my chapters together in a Master Document; it almost instantly breaks down. This is pretty frustrating, because when I was on Google Docs, I could store every chapter of my novels in a single document and it worked pretty much fine (containing over 50k words), which made proof-reading and cross-referencing previous entries way easier.

Admittedly, I am on a laptop, where as many of the people I see posting here are on fully-fledged PCs, but I went to Google Docs and made a gibberish document of similar word count/storage space, and it seemed to work perfectly fine, so I don’t think my device is exactly the problem.

I’ve checked out other advice on here:

• Disable Hardware Acceleration & Anti-Aliasing
• Disable Smooth Scroll

Neither seemed to do much. I remember at some point finding a post that said going to the “Modify” tab and checking something would help, but I couldn’t find that in the options panel on the version I’m running.

*LIBREOFFICE VERSION INFO:*
Version: 24.2.7.2 (X86_64) / LibreOffice Community
Build ID: 420(Build:2)
CPU threads: 8; OS: Linux 7.0; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Ubuntu package version: 4:24.2.7-0ubuntu0.24.04.6
Calc: threaded

*SYSTEM INFO:*
Operating System: Linux Mint 22.3 - Cinnamon 64-bit
Linux Kernel: 7.0.0-30-generic
Processor: AMD Ryzen AI 5 330 w/ Radeon 820M × 4
Graphics Card: Advanced Micro Devices, Inc. [AMD/ATI] Device 1902
Memory: 15.3 GB
Hard Drive: 512.1 GB

Did you also test ?:

Force Skia hardware acceleration

1 Like

Which is your save format? Native .odt?

What is the creation history of your document? Did you convert it from Google Docs or typed it from scratch? Google Docs is known for generating buggy ODF documents; if you converted, you inherit from this bas structure.

Another factor is your formatting routine, though 6k words is a small document. Direct formatting slows down performance (but not to the point of crashing Writer and it should not be noticeable at 6k words). Styles, including character ones (e.g. for bold and italics), guarantee smooth scaling across a huge range of document sizes.

For better diagnostic, attach a small sample to evaluate your formatting skills. For a complete analysis, send me your crashing document through private mail to cope with privacy (click on the icon left of my post then on the Message button).

1 Like

Did you also test ?: Force Skia hardware acceleration

I saw someone mention that in another post, but I couldn’t find the option in my settings. If you can tell me where to access it though, I’ll give it a shot.

Which is your save format? Native .odt? … Did you convert it from Google Docs or typed it from scratch? Google Docs is known for generating buggy ODF documents.

Native .odt; I haven’t used Google Docs in forever outside of testing for the lag problems I’ve been having, so it wouldn’t be converted from that

Another factor is your formatting routine, though 6k words is a small document. Direct formatting slows down performance (but not to the point of crashing Writer and it should not be noticeable at 6k words).

The only formatting I use is italics, text size for headers, and blue color for HTML code (<i>, <a href="">, etc.).

For a complete analysis, send me your crashing document through private mail to cope with privacy (click on the icon left of my post then on the Message button).

Sounds good, I’ll send it over
EDIT: I’m assuming this is because my account is new, but I can’t locate a Message button anywhere on your (or anyone else’s) profile. I’ll see if I can attach part of the document to this thread, though.

(Removed Link)
Here’s one of the documents giving me trouble.

The lag on this one alone seems to have lessened since trying some solutions I found online, I can edit it without slowing down, but my program still gets unbearably slow (if not outright crashing) when I try to combine it and the other two chapters (which are similar lengths; the first has 6,558 words, the second has 5,804) into a master document.

In other words, entirely direct formatted. You should look at chapter on Styles in (chapter 20 I think) of the Writer Guide, also read at least the introduction to Designing with LibreOffice to understand how styles make your life easier and writing quicker. Download from English documentation | LibreOffice Documentation - LibreOffice User Guides
.

You have a problem with an .odt document but you have posted a pdf as sample, better replace it with the .odt document

1 Like

https://designingwithlibreoffice.com/?page_id=27

88677 words
507 print pages
26 MB
Opens within 5 seconds on my 7 year old laptop.
Searching and scrolling works fluently.