Bug 132132 - Memory spike from 200MB to 4 GB with some content on the clipboard
Summary: Memory spike from 200MB to 4 GB with some content on the clipboard
Status: RESOLVED DUPLICATE of bug 112537
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.4.4.1 rc
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Memory
  Show dependency treegraph
 
Reported: 2020-04-15 18:53 UTC by Telesto
Modified: 2024-02-10 11:13 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
mem usage with 6.2.8.2 and 7.0.0.0.a1+ (62.92 KB, image/png)
2020-05-12 07:39 UTC, b.
Details
Screencast (1.33 MB, video/mp4)
2020-05-12 08:26 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-04-15 18:53:30 UTC
Description:
Memory spike from 200MB to 4 GB with some content on the clipboard

Steps to Reproduce:
1. Open attachment 139120 [details] (ignore macro)
2. CTRL+A
3. CTRL+X
4. CTRL+Q & Dont'save -> Watch the spike in memory usage & slowness to close

Actual Results:
4 GB mem usage slow close

Expected Results:
Seems excessive 


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.0.0.0.alpha0+ (x64)
Build ID: 4475bcd83aac7e033fc5250f268eb922bd471e7b
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win; 
Locale: en-US (nl_NL); UI-Language: en-US
Calc: CL
Comment 1 m_a_riosv 2020-04-15 21:22:31 UTC
Confirmed.
After a while soffice closed and memory is released.
In any case seems the file has direct formatting beyand data range make large the copy.
Version: 7.0.0.0.alpha0+ (x64)
Build ID: 4475bcd83aac7e033fc5250f268eb922bd471e7b
CPU threads: 4; OS: Windows 10.0 Build 19603; UI render: Skia/Raster; VCL: win; 
Locale: es-ES (es_ES); UI-Language: en-US Calc: CL
Comment 2 b. 2020-05-11 08:05:46 UTC
for the Bug Hunting Session 7.0.0.0.a1+: 

no repro with above ver., program closes, mem is dropped, may be a very little amount is still blocked (one pixel width line in task manager), but that's covered in other bugs ... 

fu..ed ver. info as bugs answered normal save changes with a red banner: 

'There is no version named '7.0.0.0.alpha0+ Master' in the 'LibreOffice' product.' 

but that ver. is! listed in the dropdown,
Comment 3 Telesto 2020-05-11 08:41:06 UTC
Still in
Version: 7.0.0.0.alpha0+ (x64)
Build ID: 97a2c1fc5e376c0c00968f17a0392c6d3a5ed565
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win; 
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: threaded

On CTRL+Q memory spikes.. 2GB.. takes some time to close.. drops to 0
Comment 4 b. 2020-05-12 07:39:23 UTC
Created attachment 160712 [details]
mem usage with 6.2.8.2 and 7.0.0.0.a1+

@Telesto: 

still see no issue, also recheck with 6.2 is ok, see attached screenshot, 

1: open file, ctrl-a, ctrl-x, ctrl-q, "don't save" with 6.2.8.2, 

2: open file, ctrl-a, ctrl-x, ctrl-q, "don't save" with 7.0.0.0.a1+, 

maybe you linked to a wrong file? relative small, 48 kB, "Food Calendar.ods", mentioned somewhere as open before a crash?

to boil down pls. provide screenshot of mem usage with file downloaded from link in OP, 

reg. 

b.
Comment 5 Telesto 2020-05-12 08:26:01 UTC
Created attachment 160713 [details]
Screencast
Comment 6 b. 2020-05-12 10:17:49 UTC
impressive, 

re-checked, even with a writer doc in the background to keep soffice open, 

no spike, 

special win 8.1 problem? (i'm on 7)
Comment 7 Telesto 2020-05-12 10:21:41 UTC
(In reply to b. from comment #6)
> special win 8.1 problem? (i'm on 7)

See comment 1 -> Win 10
Comment 8 Telesto 2020-05-12 10:24:09 UTC
@b total off topic
Hoping you will around when they are finished with allowing more than 1024 columns (bug 50916).. I'm already foreseeing problems. Undo/Redo/Memory usage
Comment 9 QA Administrators 2022-05-13 03:43:37 UTC Comment hidden (obsolete)
Comment 10 Tex2002ans 2024-02-09 23:46:13 UTC
Can still verify in:

Version: 24.2.0.3 (X86_64) / LibreOffice Community
Build ID: da48488a73ddd66ea24cf16bbc4f7b9c08e9bea1
CPU threads: 8; OS: Windows 10.0 Build 22631; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

- - -

The document took:

236 MB = On load

After Step 4, quitting, it took:

- ~39 seconds of constant CPU usage

with the RAM usage wildly jumping between all numbers:

- 4.4 GB
- 3.3 GB
- + it even jumped up to 7 GB (!!!) at one point.

At the end of the 39 seconds, LO finally disappeared from Task Manager.
Comment 11 Telesto 2024-02-10 08:49:53 UTC
I re-reported the same issue a while back; oops. not a bug..

*** This bug has been marked as a duplicate of bug 159272 ***
Comment 12 Buovjaga 2024-02-10 11:13:47 UTC
Correcting duplicate to the open one, we don't use dupes of dupes.

*** This bug has been marked as a duplicate of bug 112537 ***