Bug 120440 - Memory usage is increasing rather fast when creating lots of empty documents (45) and pasting a plain text in it
Summary: Memory usage is increasing rather fast when creating lots of empty documents ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.2.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectRequest, regression
Depends on:
Blocks: Memory
  Show dependency treegraph
 
Reported: 2018-10-09 09:11 UTC by Telesto
Modified: 2019-01-11 13:01 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 2018-10-09 09:11:17 UTC
Description:
Memory usage is increasing rather fast when creating lots of empty documents (45) and pasting a plain text in it

Steps to Reproduce:
1. Open attachment 145507 [details]
2. CTRL+A & CTRL+C
3. Hold CTRL+N until around 35-50 documents are open 
4. Start pasting the text in every document

Actual Results:
Memory usage will increase with easy to 1 GB or more. A drop in memory usage will happen at some point (but takes to long to happen in my opinion & not enough)

Expected Results:
Opening the same amount of document with the same text needs 566


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 6.2.0.0.alpha0+
Build ID: d9ad59da50c1172fe98f94370221c9c1b688200a
CPU threads: 4; OS: Windows 6.3; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2018-10-08_23:34:44
Locale: nl-NL (nl_NL); Calc: CL
Comment 1 Buovjaga 2018-10-27 15:23:28 UTC
Repro, but not in 6.1.2. Tried bibisecting, but even the latest commit from 9 Oct does not show the problem, stayed below 300MB (weird). Ran installed 6.2 in safe mode, but problem was still seen.

Looks like Linux shows the same mem behaviour.

Version: 6.2.0.0.alpha1+ (x64)
Build ID: 8274c4c62df5b937b3f0bec9e1eeca85f3b219d4
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-10-22_01:47:50
Locale: fi-FI (fi_FI); Calc: threaded

Arch Linux 64-bit
Version: 6.2.0.0.alpha0+
Build ID: 9a373521d7a328197a4bf9abeb0a981b7acba896
CPU threads: 8; OS: Linux 4.18; UI render: default; VCL: gtk3_kde5; 
Locale: fi-FI (fi_FI.UTF-8); Calc: threaded
Built on 19 October 2018