Bug 159175 - macOS: instruments dectect leaks when open new calc document 5 times
Summary: macOS: instruments dectect leaks when open new calc document 5 times
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.6.0.3 release
Hardware: All macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-14 08:05 UTC by Telesto
Modified: 2024-03-06 09:03 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 2024-01-14 08:05:20 UTC
Description:
2 GB of ram used when clicking open new calc document 10 times

Steps to Reproduce:
1. Open LibreOffice
2. Launch Calc from Start Center
3. Press new document button 9 times.
4. Check ram usage
4. Press close button for all Windows. When back at start center check ram usage

Actual Results:
+/- 2 GB with 10 windows
850 mb after close

Expected Results:
800 mb with 10 windows
600-700 after close


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: ba8f4bff6015013013df652efbfaf4d9ae10c881
CPU threads: 8; OS: macOS 13.6.3; UI render: Skia/Raster; VCL: osx
Locale: nl-NL (nl_NL.UTF-8); UI: en-US
Calc: threaded
Comment 1 Telesto 2024-01-15 19:49:59 UTC
On Windows:

567 mb for 10 windows with
Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 25276df12abd9d002f7f899900434617b256f745
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL threaded

345MBB for 10 windows with 
Version: 7.6.3.0.0+ (X86_64) / LibreOffice Community
Build ID: 35f19e5cb93ce218787904e99c2bedfd40e725cc
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL threaded

370 MB with for 10 windows with
Version: 7.3.8.0.0+ (x64) / LibreOffice Community
Build ID: e1ad83ddb2f39419fb5d7c69eba51e2b9f49c788
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL

555 mb for 10 windows with
Version: 7.3.0.0.alpha1+ (x64) / LibreOffice Community
Build ID: 229123ccc6f90ebf66b3e659bebbd53f8a9bdd3a
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 2 Telesto 2024-01-18 22:32:11 UTC
1,7 gb with
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 383e68da6c429c243c1e7be6699acaa942b712bc
CPU threads: 8; OS: Mac OS X 13.6.3; UI render: Skia/Raster; VCL: osx
Locale: nl-NL (nl_NL.UTF-8); UI: en-US
Calc: threaded

1,53 with
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 1cfeb4bd8ce7f7727a81136bd3e2d6ebea976895
CPU threads: 8; OS: Mac OS X 13.6.3; UI render: Skia/Raster; VCL: osx
Locale: nl-NL (nl_NL.UTF-8); UI: en-US
Calc: threaded

816 mb with osx and 1,09 gb with skia raster using
Version: 7.5.0.3 (X86_64) / LibreOffice Community
Build ID: c21113d003cd3efa8c53188764377a8272d9d6de
CPU threads: 8; OS: Mac OS X 13.6.3; UI render: default; VCL: osx
Locale: nl-NL (nl_NL.UTF-8); UI: en-US
Calc: threaded

1,1 GB with
Version: 7.2.0.4 / LibreOffice Community
Build ID: 9a9c6381e3f7a62afc1329bd359cc48accb6435b
CPU threads: 8; OS: Mac OS X 10.16; UI render: default; VCL: osx
Locale: nl-NL (nl_NL.UTF-8); UI: en-US
Calc: threaded
Comment 3 Lee Jackson 2024-01-25 17:37:34 UTC
Thank you for reporting the bug. I can not reproduce the bug in Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 861e83d1e74a718462ba524695cfa6ccb13bf7db
CPU threads: 6; OS: Windows 10.0 Build 19041; UI render: Skia/Vulkan; VCL: win
Locale: en-GB (en_GB); UI: en-US
Calc: CL threaded
Comment 4 Telesto 2024-01-30 22:43:52 UTC
I have to recheck this...
Comment 5 QA Administrators 2024-01-31 03:13:59 UTC Comment hidden (obsolete)
Comment 6 Dean 2024-02-13 21:45:21 UTC
Hi,

Thanks for reporting. I have try to replicate the bug but no bug was present of 2 GB used. I originally have 9.4 GB available. I only found that the 10 documents opened only used 0.2 to 0.3 GB (~230 mb). 

Version: 24.2.0 (x86-64)
Build ID: da48488a73ddd66ea24cf16bbc4f7b9c08e9bea1
TinderBox: Windows 10 Pro, LibreOffice 24.2
Comment 7 Telesto 2024-03-06 09:03:29 UTC
Well leaking is present.. however it's less simple. 

A) Comment 0 might require a profile modified by an 'old' version of LibreOffice. 7.6 I think. With certain content, unable to trigger it from scratch right now. LibreOffice in safe-mode is somewhat illustrating the issue when creating 10 windows

B) Xcode Instruments does detect leaking creating new documents, in normal mode

C) Resetting profile by starting in safe mode, checking reset entire profile and restart does cause a massive leak at first launch