Bug 122929 - High memory usage & OOM x86 when using find & replace on a specific document
Summary: High memory usage & OOM x86 when using find & replace on a specific document
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Find-Search Memory
  Show dependency treegraph
 
Reported: 2019-01-24 12:30 UTC by Telesto
Modified: 2021-04-25 13:34 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:
Regression By:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2019-01-24 12:30:11 UTC
Description:
High memory usage & OOM x32 when using find & replace on a specific document

Steps to Reproduce:
1. Open attachment 148596 [details]
2. CTRL+H (Find & Replace)
3. FIND: S  & Replace with: Z
5. Replace ALL

Actual Results:
1,8 GB memory usage & Crash (x32)

Expected Results:
No crash en reasonable memory usage


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 6.3.0.0.alpha0+
Build ID: 6740443311268b7d918bf4f43134d64fb78a0109
CPU threads: 4; OS: Windows 6.3; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2019-01-15_23:37:04
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: CL
Comment 1 Durgapriyanka 2019-02-06 15:38:37 UTC
Thank you for reporting the bug. I confirm the bug present in

Version: 6.3.0.0.alpha0+
Build ID: b6b28931435e44aca92b8c0e1659f701e3ed1a87
CPU threads: 2; OS: Windows 6.1; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2019-01-30_06:57:04
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded
Comment 2 Buovjaga 2019-02-12 16:25:53 UTC
Same for 4.4.7, 3.5.0, 3.3.0
Comment 3 QA Administrators 2021-04-25 04:02:28 UTC Comment hidden (obsolete)
Comment 4 Michael Warner 2021-04-25 13:34:00 UTC
Still in:
Version: 7.0.4.2 (x64)
Build ID: dcf040e67528d9187c66b2379df5ea4407429775
CPU threads: 6; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded

LO didn't crash, but memory usage shot up from 95M to 2.8G after step 5. Even just replacing a single character shows memory usage grow by hundreds of kilobytes.