[Bug 159529] Excessive memory consumption in v24.2

2024-02-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=159529 Patrick Luby changed: What|Removed |Added Assignee|libreoffice-b...@lists.free |guibomac...@gmail.com

[Bug 159529] Excessive memory consumption in v24.2

2024-02-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=159529 --- Comment #24 from Commit Notification --- Patrick Luby committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/af47a78e11d4819bb4b1ae1a1277babd10d815b7 tdf#159529 clear

[Bug 159529] Excessive memory consumption in v24.2

2024-02-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=159529 --- Comment #23 from Caolán McNamara --- (In reply to Patrick Luby from comment #15) > So I now know what is going on. This looks like a Collabora/LibreOffice > Online optimization in the FontNameBox. Sometime in the past LibreOffice >

[Bug 159529] Excessive memory consumption in v24.2

2024-02-20 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=159529 --- Comment #22 from Patrick Luby --- (In reply to Noel Grandin from comment #20) > Could be something we could do on our side (maybe a harfbuzz setting), or > maybe we are using the API wrong OK. I've got a potential fix at

[Bug 159529] Excessive memory consumption in v24.2

2024-02-20 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=159529 --- Comment #21 from Patrick Luby --- Created attachment 192674 --> https://bugs.documentfoundation.org/attachment.cgi?id=192674=edit FontNameBox on macOS in Dark Mode -- You are receiving this mail because: You are the assignee for

[Bug 159529] Excessive memory consumption in v24.2

2024-02-20 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=159529 --- Comment #20 from Noel Grandin --- Noting that it is worth logging an issue over at https://github.com/harfbuzz/harfbuzz and asking for help (and linking back to this bug) Behdad is pretty friendly and willing to help. Could be

[Bug 159529] Excessive memory consumption in v24.2

2024-02-20 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=159529 --- Comment #19 from Patrick Luby --- OK. I found where the huge 'sbix' font table is being cached: hb_face_t->sbix in HarfBuzz's src/OT/Color/sbix/sbix.hh file. Note: hb_face_t->sbix is an instance of accelerator_t held by a

[Bug 159529] Excessive memory consumption in v24.2

2024-02-20 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=159529 --- Comment #18 from Patrick Luby --- (In reply to Patrick Luby from comment #17) > Next step is to look in the HarfBuzz portion of the stack and see if there > is any caching of font table data. hb_face_reference_table() looks like a >

[Bug 159529] Excessive memory consumption in v24.2

2024-02-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=159529 --- Comment #17 from Patrick Luby --- (In reply to Patrick Luby from comment #16) > Created attachment 192647 [details] > Debug patch that deletes the hb_font immediately after use I think that I have eliminated LibreOffice caching the

[Bug 159529] Excessive memory consumption in v24.2

2024-02-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=159529 --- Comment #16 from Patrick Luby --- Created attachment 192647 --> https://bugs.documentfoundation.org/attachment.cgi?id=192647=edit Debug patch that deletes the hb_font immediately after use -- You are receiving this mail because:

[Bug 159529] Excessive memory consumption in v24.2

2024-02-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=159529 --- Comment #15 from Patrick Luby --- So I now know what is going on. This looks like a Collabora/LibreOffice Online optimization in the FontNameBox. Sometime in the past LibreOffice decided to cache a bitmap for every font available.

[Bug 159529] Excessive memory consumption in v24.2

2024-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=159529 --- Comment #14 from Patrick Luby --- (In reply to Patrick Luby from comment #10) > OK. I think I have fixed the build failure that was causing Instruments to > not be able to attach to a local LibreOffice build. It didn't make it into >

[Bug 159529] Excessive memory consumption in v24.2

2024-02-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=159529 --- Comment #13 from Patrick Luby --- I did a quick memory leak profile of my local master build. I launched LibreOffice and then attached Instruments after the Start Center appears. Open an empty Writer document and then stop the

[Bug 159529] Excessive memory consumption in v24.2

2024-02-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=159529 --- Comment #12 from Patrick Luby --- Created attachment 192605 --> https://bugs.documentfoundation.org/attachment.cgi?id=192605=edit Snapshot of biggest allocation's stack after opening an empty Writer document -- You are receiving

[Bug 159529] Excessive memory consumption in v24.2

2024-02-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=159529 --- Comment #11 from Patrick Luby --- Created attachment 192604 --> https://bugs.documentfoundation.org/attachment.cgi?id=192604=edit Snapshot of biggest leak's stack after opening an empty Writer document -- You are receiving this

[Bug 159529] Excessive memory consumption in v24.2

2024-02-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=159529 --- Comment #10 from Patrick Luby --- (In reply to Xisco Faulí from comment #9) > I upgraded the harfbuzz library to the latest 8.3.0 in > e808e4643002aa6d2e749afca75fe923c8b2bf8e but the issue is still happening > with that version OK.

[Bug 159529] Excessive memory consumption in v24.2

2024-02-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=159529 --- Comment #9 from Xisco Faulí --- I upgraded the harfbuzz library to the latest 8.3.0 in e808e4643002aa6d2e749afca75fe923c8b2bf8e but the issue is still happening with that version -- You are receiving this mail because: You are the

[Bug 159529] Excessive memory consumption in v24.2

2024-02-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=159529 --- Comment #8 from Commit Notification --- Patrick Luby committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/c2ebc77e636e9cdefad6cef446a2f8acec1580f1 Related: tdf#159529 fix

[Bug 159529] Excessive memory consumption in v24.2

2024-02-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=159529 Commit Notification changed: What|Removed |Added Whiteboard||target:24.8.0 -- You are

[Bug 159529] Excessive memory consumption in v24.2

2024-02-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=159529 --- Comment #7 from Patrick Luby --- (In reply to Patrick Luby from comment #6) > IIRC, the Mac Intel nightly builds don't have the necessary settings due to > cross-compiling. But, if you do a local Mac Intel build, Instruements should

[Bug 159529] Excessive memory consumption in v24.2

2024-02-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=159529 --- Comment #6 from Patrick Luby --- (In reply to Telesto from comment #5) > @Patrick > (In reply to Caolán McNamara from comment #4) > > Ideally we could get a massif profile to get a better view of what is eating > > the memory there,

[Bug 159529] Excessive memory consumption in v24.2

2024-02-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=159529 Telesto changed: What|Removed |Added CC||guibomac...@gmail.com --- Comment #5

[Bug 159529] Excessive memory consumption in v24.2

2024-02-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=159529 --- Comment #4 from Caolán McNamara --- Ideally we could get a massif profile to get a better view of what is eating the memory there, but I guess that's challenging on macOS. It is quite a small patch really, hb_font_get_glyph_extents.

[Bug 159529] Excessive memory consumption in v24.2

2024-02-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=159529 Xisco Faulí changed: What|Removed |Added Keywords|bibisectRequest |bibisected, bisected

[Bug 159529] Excessive memory consumption in v24.2

2024-02-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=159529 Telesto changed: What|Removed |Added Priority|medium |high Severity|normal

[Bug 159529] Excessive memory consumption in v24.2

2024-02-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=159529 --- Comment #2 from Telesto --- Easy way to reproduce 1. Open attachment https://bz.apache.org/ooo/attachment.cgi?id=12592 2. Edit -> Track Changes -> Manage -> Keep Pressing the reject button -- You are receiving this mail because:

[Bug 159529] Excessive memory consumption in v24.2

2024-02-03 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=159529 Telesto changed: What|Removed |Added See Also||https://bugs.documentfounda

[Bug 159529] Excessive memory consumption in v24.2

2024-02-02 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=159529 Telesto changed: What|Removed |Added Keywords||bibisectRequest, regression