I have an .odt file with a large table which contains a lot of direct formatted text (italics, highlighted text… without styles applied). There are 450 pages, 130 000 words and 800 000 signs and automatically created table of contents within the 800 kB document. There is also plenty of text, but the file size is rather small. There are no pictures or drawing objects.
My problem is: it takes ca. seven minutes to open the file since Writer is not responding for a long time. It is not an exception, it normally works like this. (When the file had 300 pages and 700 kB, it took two minutes to open it — it is not much larger now but the deceleration is much more considerable.) The CPU and memory usage are sometimes (rather rarely) up to 100% (due to Writer) but mostly they are 50-60% (and then, the problem remains the same).
My LibreOffice is updated (see my configuration below). Under former versions, the problem was also present. I also tried it on another device (with Win11, higher performance, 24.2.3.2 LibreOffice) and the time it takes to open the file is not very different. It seems not to be a hardware issue or an issue related to software version.
If I open another, 4000 kB .odt file (one or three pages, some images, drawing objects included), it loads immediately.
If I copy all contents of the “difficult” file and insert it to a new .odt file as unformatted text, then save this new file and open this new file, it loads immediately.
However, to change all direct formatting and replace it with styles would take an eternity, I guess. (It cannot be automatically deleted since the information I have from direct formatting is important for me.)
I tried to follow some advices I found here and elsewhere (nothing worked):
1/ I restarted Writer in a safe mode.
2/ I created a new user profile.
3/ I disabled this settings:
a/ Tools - Options - LibreOffice - View: Use hardware acceleration,
b/ …: Use anti-aliasing,
c/ …:Use Skia for all rendering,
d/ - Tools - Options - Load/Save - General: Load printer settings with the document
4/ I turned off wifi and my printer.
I would really appreciate your help. I deal with the file daily (without any exaggeration). I am also used to search within it (that´s why I don´t want to create more smaller files instead). I can´t load the file here as it contains some confidential information. I can load some sample, but I´m not sure it would be helpful.
Version: 24.2.5.2 (X86_64) / LibreOffice Community
Build ID: bffef4ea93e59bebbeaf7f431bb02b1a39ee8a59
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: cs-CZ (cs_CZ); UI: cs-CZ
Calc: threaded