Bug 134525 - File open/file copy/paste requires 3-4x more memory
Summary: File open/file copy/paste requires 3-4x more memory
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.2.0.3 release
Hardware: All All
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks: Paste Memory
  Show dependency treegraph
 
Reported: 2020-07-05 12:16 UTC by Telesto
Modified: 2023-03-19 00:11 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


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

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
Description:
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 4.4.7.2 (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
Comment 2 Dieter 2021-03-28 09:57:36 UTC
Telesto, it seems, that nobody could confirm this bug since more than one year. So I‘d like to ask, if it is still reproducible for you. Could you please try to reproduce it with a master build from http://dev-builds.libreoffice.org/daily/master/current.html? I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version.
Comment 3 QA Administrators 2021-09-26 03:57:43 UTC Comment hidden (obsolete)
Comment 4 QA Administrators 2021-10-27 03:44:42 UTC Comment hidden (obsolete)
Comment 5 Telesto 2021-10-27 12:28:41 UTC
Based on the description it still there, except it's bit better today (750 MB at max)

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 93115d2c54d645bcf2f80fde325e3ede39dee4d5
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 6 Jean-Baptiste Faure 2022-04-05 13:34:20 UTC
Why do you think there is a bug ? Memory is meant to be used.

Best regards.
JBF
Comment 7 Jean-Baptiste Faure 2022-04-05 13:37:29 UTC
Forgot to add my numbers:

- File loaded : ~750 MB
- File selected, then copied : ~950 MB

No problem to load the file with Version: 7.3.3.0.0+ / LibreOffice Community
Build ID: 0a34ac386187c5ca328aebc27851c2a2ff38f293
CPU threads: 8; OS: Linux 5.13; UI render: default; VCL: gtk3
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Ubuntu_20.04_x86-64
Calc: threaded

Set status to NEEDINFO.

Best regards.
JBF