[Libreoffice-bugs] [Bug 121059] Scrolling down in print preview causes memory usage to increase rapidly

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Nov 8 15:51:19 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=121059

--- Comment #4 from Telesto <telesto at surfxs.nl> ---
(In reply to Buovjaga from comment #3)
> Why is this separate from bug 121058?

1) Bug 121058 started after the "bugfix" for bug 120735. This issue was already
present..
2) I'm not sure how the layout stuff works; so if there is a difference in code
between print preview & normal layouting... (and extending it a bit: between
print preview & PDF export). 
3) Miklos suggested that I should file a report (so bug 121058) because of of a
different root cause (see comment 120735 comment 15). But I have nothing to go
on (memory doesn't increase it's high all the time)

But I don't deny any similarity.. :-)

----
About "it is about caching after all". 

* It's the tricky part.. The bug fix for bug 120735 doesn't make much sense, if
it's still happening scrolling down, except for complicating things.
* And it looks like there is to much caching going on... based on the commit
for bug 120735 (but that's my reading)
https://gerrit.libreoffice.org/plugins/gitiles/core/+/19a0698079fbba36646a2d06eaec3a7fde60b2f5%5E%21

---
How lovely layout caching is, the rather a memory hog.. And i'm really a fan:
* Potential for OOM on Windows 32x builds (with multiple documents)
* Quite a lot of users use legacy systems with limited ram (swapping to disk is
painfully slow)
* Even pricey hardware (apple) still sold with only 8 GB
* What would it mean for LibreOffice online; doubling the server memory
required? (not knowing much about server side.. so only speculation)
* Would look bad for the real life minimum system requirements 
* I don't like the idea of swapping one issue for a different one.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20181108/759eb1fb/attachment.html>


More information about the Libreoffice-bugs mailing list