Bug 149102 - Excessive memory use with a certain file with external data
Summary: Excessive memory use with a certain file with external data
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.3.3.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Memory
  Show dependency treegraph
 
Reported: 2022-05-15 21:51 UTC by ralf.fehlau
Modified: 2024-09-10 03:16 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
with this file you ca reproduce the bug (24.69 KB, application/vnd.oasis.opendocument.spreadsheet)
2022-05-15 21:58 UTC, ralf.fehlau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ralf.fehlau 2022-05-15 21:51:47 UTC
As the summary says, there is no data displayed. The attached file was created  and modified with older versions of libreoffice.

Additionally, again there is a memory leak when updating data, until all ram is used by libreoffice (about 12 GB of RAM)!!!
Comment 1 ralf.fehlau 2022-05-15 21:58:49 UTC
Created attachment 180132 [details]
with this file you ca reproduce the bug
Comment 2 Scott Clewell 2022-06-14 23:55:47 UTC
Thanks for reporting but I got the external data using:

Version: 7.3.3.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 16; OS: Linux 5.13; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Ubuntu package version: 1:7.3.3~rc2-0ubuntu0.20.04.1~lo1
Calc: threaded

Would you please provide steps you use to reproduce...maybe I'm doing something different.
Comment 3 ralf.fehlau 2022-06-24 06:20:13 UTC
I tried it again, and I cannot reproduce the bug with the current version. Thanks for fixing this bug.  

But the memory consumption is unchanged. When there are several other references to external data, Libreoffice will be killed by the system, when memory usage exeeds the limits. 

In my case Libreoffice uses 12 GB of memory just before it is killed by the kernel.
Comment 4 QA Administrators 2022-06-25 03:39:09 UTC Comment hidden (obsolete)
Comment 5 Buovjaga 2022-06-25 06:48:37 UTC
For me it crashed after some seconds when I clicked to allow external data, so I guess this merits further investigation.

NixOS
Version: 7.3.3.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 16; OS: Linux 5.18; UI render: default; VCL: gtk3
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Comment 6 Buovjaga 2022-06-27 19:06:59 UTC
Now I can't repro any crash of excessive memory use on my desktop machine with

Arch Linux 64-bit
Version: 7.3.4.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 8; OS: Linux 5.18; UI render: default; VCL: gtk3
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
7.3.4-2
Calc: threaded

or

Version: 7.4.0.0.beta1+ / LibreOffice Community
Build ID: cdf48e57da6b8a6a5eb4131340fa2c14be135714
CPU threads: 8; OS: Linux 5.18; UI render: default; VCL: gtk3
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded

Ralf: can you copy and paste here the contents of your Help - About by clicking the copy button? This allows us to know more about your system.
Comment 7 ralf.fehlau 2022-07-10 21:24:02 UTC
Sorry, a little bit late. Here is my system:

Version: 7.3.4.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 2; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Ubuntu package version: 1:7.3.4-0ubuntu0.22.04.1
Calc: threaded
Comment 8 QA Administrators 2024-09-10 03:16:09 UTC
Dear ralf.fehlau,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug