Download it now!
Bug 134525 - File open/file copy/paste requires 3-4x more memory
Summary: File open/file copy/paste requires 3-4x more memory
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) release
Hardware: All All
: low minor
Assignee: Not Assigned
Whiteboard: QA:needsComment
Keywords: bibisectRequest, regression
Depends on:
Blocks: Paste Memory
  Show dependency treegraph
Reported: 2020-07-05 12:16 UTC by Telesto
Modified: 2020-09-13 07:09 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:

Example file (18.21 MB, application/msword)
2020-07-05 12:24 UTC, Telesto

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-07-05 12:16:46 UTC
File open/file copy/paste requires 3-4x more memory

Steps to Reproduce:
1. Open attachment 144018 [details] -> look at memory usage
2. CTRL+A (maybe twice to select all)
3. CTRL+C -> look at memory usage -> 1 GB
4. CTRL+W (close doc)
5. CTRL+N -> look at memory usage
6. CTRL+V -> Look at memory usage -> 1 GB
7. Copy small part of the text to clear the clipboard.. still 750

The bug doc suffers from a slow opening bug within the bibisect range.. lovely

Actual Results:
360 MB on file open with peak of 550.  7.1 
314 MB with peak to 900 MB after copy with 7.1

Expected Results:
167 MB on file open with (32bit)
140 MB on file open with 6.0.5 (32 bit)
224 MB after copy with 6.0.5 32 bit
250 MB after paste with 6.0.5 (32 bit)

-> All without a peak

Reproducible: Always

User Profile Reset: No

Additional Info:
Found in 7.1

and in 6.2

but not in 6.0
Comment 1 Telesto 2020-07-05 12:24:00 UTC
Created attachment 162659 [details]
Example file

DOC export of the same file.. same behavior.. less waiting time