Bug 125488 - Huge memory usage when copying large document to clipboard (compared to 4.4.7.2)
Summary: Huge memory usage when copying large document to clipboard (compared to 4.4.7.2)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.3.0.0.alpha1+
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: perf
Depends on:
Blocks: Clipboard
  Show dependency treegraph
 
Reported: 2019-05-25 12:34 UTC by Telesto
Modified: 2023-08-12 11:16 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2019-05-25 12:34:05 UTC
Description:
Huge memory usage when copying large document to clipboard (compared to 4.4.7.2) 

Steps to Reproduce:
1. open https://documentation.libreoffice.org/assets/Uploads/Documentation/en/WG5.4/WG54-WriterGuideLO.odt (baseline 270 MB; ok)
2. Go the second page
3. CTRL+A & CTRL+C -> See mem usage increase rapidly (550 MB)

Another observation

4. CTRL+N
5. CTRL+V
6. CTRL+S -> A file new
7. CTRL+W (close second document)
8. Copy Small text (clear clipboard) -> 377 MB ram (no clue about the difference)

Actual Results:
Large increase in mem usage (around 550 600 MB range)

Expected Results:
Around 350 maybe.. at least something similar to 4.4.7.2


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 6.3.0.0.alpha1+
Build ID: f5b9590fc06811a9dff550c6998d1d1088507e23
CPU threads: 4; OS: Windows 6.3; UI render: default; VCL: win; 
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: CL
Comment 1 Dieter 2019-08-22 11:29:33 UTC
I confirm this with steps 1 - 3

LO 6.4: Between 500 and 550 MB, when I open the file and between 1000 and 1400 MB after select and copy all

LO 5.4: Between 500 and 550 MB, when I open the file and the same after select and copy all

Version: 6.4.0.0.alpha0+ (x64)
Build ID: 3e64065612acec2eb29aa21e2b515953422256d7
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@62-TDF, Branch:master, Time: 2019-08-15_22:57:26
Locale: de-DE (de_DE); UI-Language: en-US
Calc: threaded

and

Version: 5.4.7.2 (x64)
Build-ID: c838ef25c16710f8838b1faec480ebba495259d0
CPU-Threads: 4; BS: Windows 6.19; UI-Render: GL; 
Gebietsschema: de-DE (de_DE); Calc: group
Comment 2 Dieter 2021-08-03 11:15:39 UTC
Still present in

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: ac80ec817eb07c77a51bc0729985a473c734182e
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

315 MB after file opening and 620 MB after select and copy all
Comment 3 QA Administrators 2023-08-04 03:18:51 UTC Comment hidden (obsolete)
Comment 4 Dieter 2023-08-12 11:16:21 UTC
Result with

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: e25e27c85ed970cdb97c468bdac86c80964f4231
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL threaded

After opening: up to 310 MB
After copy all: 536 MB

So again a little improvement.