Bug 112832 - Allocated memory isn't released after closing a document when applying a new highlighting color (or other formatting options)
Summary: Allocated memory isn't released after closing a document when applying a new ...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.2.8.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-02 14:20 UTC by Telesto
Modified: 2017-10-07 18:40 UTC (History)
2 users (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 2017-10-02 14:20:58 UTC
Description:
Memory usage is steadily increasing every time when applying a new highlighting color(and isn't released after document closing) This doesn't happen on Windows.


Steps to Reproduce:
Steps to Reproduce:
1. Open attachment 133999 [details] (bug 106617)
2. Select all CTRL+A
3. Apply highlighting
4. Repeat step 3 around 10 times by choosing different highlighting colors

Actual Results:  
Memory usage is steadily climbing


Expected Results:
Shouldn't happen


Reproducible: Always

User Profile Reset: No

Additional Info:
Found in
Version: 5.4.1.2
Build ID: ea7cb86e6eeb2bf3a5af73a8f7777ac570321527
CPU threads: 1; OS: Linux 4.4; UI render: default; VCL: gtk2; 
Locale: en-US (en_US.UTF-8); Calc: group

and in
Version: 4.2.8.2
Build ID: 420m0(Build:2 (Ubuntu default)

but not on Windows
Versie: 5.4.1.2  (x64)
Build ID: ea7cb86e6eeb2bf3a5af73a8f7777ac570321527
CPU-threads: 4; Besturingssysteem:Windows 6.29; UI-render: standaard; 
Locale: nl-NL (nl_NL); Calc: CL


User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0
Comment 1 Telesto 2017-10-03 07:21:24 UTC
The description is probably a bit misleading. The problem is not the increasing memory usage (I expect it to be normal, related to undo steps). That the memory is released after the closing of the document. It's still allocated to LibO.
Comment 2 Telesto 2017-10-07 18:40:54 UTC
No repro with:
Version: 6.0.0.0.alpha0+
Build ID: c5a93cad149618bbd43632f1660a558c34bdbf7e
CPU threads: 4; OS: Windows 6.3; UI render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2017-10-07_01:04:25
Locale: nl-NL (nl_NL); Calc: CL