Description: Memory isn't released (for the copying part) when copying columns first followed by cutting Steps to Reproduce: 1. Open the file found here: https://yadi.sk/i/rM9QctDym5y3M 2. Copy Columns A-C 3. Cut columns A-C 4. Undo cut (CTRL+Z) 5. Copy A1 -> Clearing the memory back to initial. The first bump caused by copying copying A-C isn't released. Actual Results: The memory used for the first copy action isn't released. Expected Results: Should be released Reproducible: Always User Profile Reset: No Additional Info: Found in Version: 6.0.0.0.alpha1+ Build ID: 13c5dd1d98a480cb01ca8f24242c80e326e4ade8 CPU threads: 4; OS: Windows 6.3; UI render: default; TinderBox: Win-x86@42, Branch:master, Time: 2017-10-30_23:52:07 Locale: nl-NL (nl_NL); Calc: CL and in Version: 5.1.0.1.0+ Build ID: 5616d22b57a9a5e57d545e912e029162a230829b Threads 4; Ver: Windows 6.29; Render: default; but not in Version: 4.5.0.0.alpha0+ Build ID: 57d6b92b69a31260dea0d84fcd1fc5866ada7adb Locale: nl_NL but broken again in Versie: 4.4.7.2 Build ID: f3153a8b245191196a4b6b9abd1d0da16eead600 Locale: nl_NL User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0
Copying A1 in the last step should not "clear the memory to initial". The Undo action for Cut is still in the Undo stack for Redo and Repeat.
Created attachment 137416 [details] Screencast LibO6 (In reply to Eike Rathke from comment #1) > Copying A1 in the last step should not "clear the memory to initial". The > Undo action for Cut is still in the Undo stack for Redo and Repeat. That is not what I intended to say. I don't expect it to back to the initial state. I expect a memory usage of 390MB at the end of the steps (as with 5.0.0.5) instead of 550 MB (with LibO6)
Created attachment 137417 [details] Screencast LibO4500
Created attachment 137423 [details] Bibisect log Bibisected to a range.. Most likely: author Kohei Yoshida <kohei.yoshida@collabora.com> 2014-11-25 05:02:21 (GMT) committer Kohei Yoshida <kohei.yoshida@collabora.com> 2014-11-25 15:00:14 (GMT) commit 0dae7466fff1e742543ef7512b7dd22472c75624 (patch) tree c9f146abd01a7cabd81944fd794c133cdecadca3 parent 8c041824b67caa53d3f7f96803b7a69ced6614b5 (diff) Adjust ref undo to ensure group area listeners are used. When undoing row deletion (and possibly other similar undo's). And write test for it.
Hmm, changing my initial report a bit. The memory management is working fine. The only issue is with the timing/trigger needed before the release takes place.. 1. Open the file found here: https://yadi.sk/i/rM9QctDym5y3M 2. Copy Columns A-C 3. Cut columns A-C 4. Undo cut (CTRL+Z) 5. Copy A1 6. Wait 20 seconds -> some drop, memory usage still high 7. Type something into E1 8. Copy E1 -> Memory usage will fall back to 390 MB The memory bump at step 2 isn't released automatically after the 'cut'. It isn't triggered after copy (step 5) either. However, the memory usage starts reducing after typing something in cell E1 and copying it.
(In reply to Telesto from comment #5) > 8. Copy E1 -> Memory usage will fall back to 390 MB It only falls to about 494 MB after waiting some tens of seconds. Version: 6.0.0.0.alpha1+ (x64) Build ID: 7e03c4eed72452fdfb87341214a21956c08ba969 CPU threads: 4; OS: Windows 10.0; UI render: default; TinderBox: Win-x86_64@42, Branch:master, Time: 2017-10-26_00:58:29 Locale: fi-FI (fi_FI); Calc: group
Hi Telesto, Does the commit bisected in comment 4 applies to the steps in comment 5 or is it a different issue?
Dear Bug Submitter, This bug has been in NEEDINFO status with no change for at least 6 months. Please provide the requested information as soon as possible and mark the bug as UNCONFIRMED. Due to regular bug tracker maintenance, if the bug is still in NEEDINFO status with no change in 30 days the QA team will close the bug as INSUFFICIENTDATA due to lack of needed information. For more information about our NEEDINFO policy please read the wiki located here: https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Status/NEEDINFO If you have already provided the requested information, please mark the bug as UNCONFIRMED so that the QA team knows that the bug is ready to be confirmed. Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-NeedInfo-Ping-20180731
Dear Bug Submitter, Please read this message in its entirety before proceeding. Your bug report is being closed as INSUFFICIENTDATA due to inactivity and a lack of information which is needed in order to accurately reproduce and confirm the problem. We encourage you to retest your bug against the latest release. If the issue is still present in the latest stable release, we need the following information (please ignore any that you've already provided): a) Provide details of your system including your operating system and the latest version of LibreOffice that you have confirmed the bug to be present b) Provide easy to reproduce steps – the simpler the better c) Provide any test case(s) which will help us confirm the problem d) Provide screenshots of the problem if you think it might help e) Read all comments and provide any requested information Once all of this is done, please set the bug back to UNCONFIRMED and we will attempt to reproduce the issue. Please do not: a) respond via email b) update the version field in the bug or any of the other details on the top section of our bug tracker Warm Regards, QA Team MassPing-NeedInfo-20180903
1. Open the file found here: https://yadi.sk/i/rM9QctDym5y3M 2. Copy Columns A-C 3. Cut columns A-C 4. Undo cut (CTRL+Z) 5. Copy A1 -> Clearing the memory back to initial (has no effect) 6. Paste it somewhere (memory usage drops back to initial state) The need for step 6 isn't perfect, but but everything else is fine, so.. WFM Version: 6.2.0.0.alpha0+ Build ID: 22f2d8c41aa0a0a4cfa215c07ec06ae38cde7da8 CPU threads: 4; OS: Windows 6.3; UI render: default; TinderBox: Win-x86@42, Branch:master, Time: 2018-08-29_04:32:58 Locale: nl-NL (nl_NL); Calc: CL