Bug 118536 - Memory for eight blank documents is rather high (480 MB x64) with Skia (previously OpenGL)
Summary: Memory for eight blank documents is rather high (480 MB x64) with Skia (previ...
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
4.4.0.3 release
Hardware: All Windows (All)
: lowest minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 124563 (view as bug list)
Depends on:
Blocks: Memory Skia
  Show dependency treegraph
 
Reported: 2018-07-04 14:55 UTC by Telesto
Modified: 2020-11-11 11:18 UTC (History)
4 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 2018-07-04 14:55:22 UTC Comment hidden (obsolete)
Comment 1 Telesto 2018-07-04 18:22:13 UTC
Small change. Memory usage for a multiple blank document is rather high
1. Open eight Calc (or Writer) documents with OpenGL enabled
 
Actual Results:
+/- 396 x64

Expected Results:
+/- 150 MB x64 with default rendering. So something like 200/ 250 MB?
Comment 2 Telesto 2018-07-31 16:25:21 UTC
Similar behavior x32 with 15 empty documents and OpenGL enabled (750 MB)
Version: 6.2.0.0.alpha0+
Build ID: 1b21ff86effe58ae368457de8fec654ba4c8edd9
CPU threads: 4; OS: Windows 6.3; UI render: GL; 
TinderBox: Win-x86@42, Branch:master, Time: 2018-07-30_03:13:35
Locale: nl-NL (nl_NL); Calc: CL
Comment 3 Telesto 2018-07-31 16:27:13 UTC
@Aron
Is this something driver specific or a general issue?
Comment 4 Aron Budea 2018-08-01 05:39:50 UTC
Certainly not driver-specific, I get roughly the same numbers with 1 & 8 empty Writer documents.
Each document adds:
- ~28 MB with OpenGL enabled,
- ~18 MB with OpenGL disabled.

No idea what accounts for the 10 MB difference, and if there should be a difference at all. I'll confirm it for now, and if a dev disagrees, they can change the status with an explanation.
Comment 5 Telesto 2019-05-13 20:31:08 UTC
*** Bug 124563 has been marked as a duplicate of this bug. ***
Comment 6 Buovjaga 2020-08-28 12:20:12 UTC
As Skia with Vulkan will replace OpenGL UI rendering on all platforms, it does not make sense to keep OpenGL UI reports open.

Details about Skia: https://www.collaboraoffice.com/success-story/implementing-vulkan-capable-libreoffice-user-interface-using-the-skia-library/
Comment 7 Telesto 2020-11-08 17:19:39 UTC
Resurrecting this bug.. Skia builds on OpenGL code, and the problem is there..
And get the impression of being an implementation error. Goes back to 4.4.0.3
Comment 8 Telesto 2020-11-08 17:24:26 UTC
Part (or maybe all) of this be explained by bug 134327..
Comment 9 Telesto 2020-11-08 17:26:24 UTC
However comment 4 at 134327 should be partly outdated because of they deduplication commit at bug 134342
Comment 10 Luboš Luňák 2020-11-11 11:18:31 UTC
This is so minor that it should be practically irrelevant. 8 blank documents is a non-realistic scenario and those 30MiB will get lost in the actual memory usage once the documents contain something.