[Libreoffice-bugs] [Bug 120735] Memory usage on file open 4 times higher compared to LibO6.1 (70 vs 280)

2018-10-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=120735

Miklos Vajna  changed:

   What|Removed |Added

   Assignee|libreoffice-b...@lists.free |vmik...@collabora.co.uk
   |desktop.org |
 Status|NEW |ASSIGNED

--- Comment #8 from Miklos Vajna  ---
I can reproduce the increasing memory usage, though the ratio is smaller here
(about +-10% of memory usage after the import and layout finished). I'll look
at this.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 120735] Memory usage on file open 4 times higher compared to LibO6.1 (70 vs 280)

2018-10-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=120735

--- Comment #7 from Telesto  ---
Not sure if this should be reported here, but two additional observations:

1. Open the attached file
2. Switch to Print preview -> Memory drops and builds up again (possible
explanation: SwFntObj gets cleared & rebuild)
3. Close the print preview -> Memory drops and builds up again 

---

1. Open the attached file
2. Switch to print preview
3. Press Page Down -> Memory usage keeps increasing

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 120735] Memory usage on file open 4 times higher compared to LibO6.1 (70 vs 280)

2018-10-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=120735

Telesto  changed:

   What|Removed |Added

 Status|RESOLVED|NEW
 Resolution|NOTABUG |---

--- Comment #6 from Telesto  ---
(In reply to Telesto from comment #5)
> Argh, nevermind.. Only happening with a very long single paragraph

Shouldn't change things on sunday's. There is no single large paragraph..  Back
to new again.. Sorry for the fuzz

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 120735] Memory usage on file open 4 times higher compared to LibO6.1 (70 vs 280)

2018-10-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=120735

Telesto  changed:

   What|Removed |Added

 Resolution|--- |NOTABUG
 Status|NEW |RESOLVED

--- Comment #5 from Telesto  ---
Argh, nevermind.. Only happening with a very long single paragraph

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 120735] Memory usage on file open 4 times higher compared to LibO6.1 (70 vs 280)

2018-10-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=120735

Telesto  changed:

   What|Removed |Added

   Keywords||bibisected, bisected,
   ||regression
 CC||vmik...@collabora.co.uk

--- Comment #4 from Telesto  ---
Adding cc: to Miklos Vajna

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 120735] Memory usage on file open 4 times higher compared to LibO6.1 (70 vs 280)

2018-10-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=120735

--- Comment #3 from Telesto  ---
Created attachment 145881
  --> https://bugs.documentfoundation.org/attachment.cgi?id=145881=edit
Bibisect log

Bisected to
author  Miklos Vajna   2018-08-31 18:19:12 +0200
committer   Miklos Vajna   2018-09-03 09:13:32
+0200
commit  aeff83240c88435d11590f5e9c6fe9927a508c6a (patch)
treea3b918a7d3164ee428a4df39df7118a87618dfd9
parent  08b5048198d59441cb8033ed14cd17e68c943004 (diff)
sw: save more vcl layout calls in SwFntObj
This builds on top of commit 436b829f5b904d76039db0818cff5dedf1ae89f1
(sw: save one vcl layout call in SwFntObj::DrawText(), 2018-08-16), but
now layouts are shared not only inside SwFntObj::DrawText(), but also
between SwFntObj::GetTextSize() and SwFntObj::DrawText().

To get there, create an SwFntObj cache member that stores already
calculated vcl layouts. SwFntObj already derives from SwCacheObj, so no
need to explicitly expire this cache member.

Total number of GenericSalLayout::LayoutText() invocations go down from
8 to 5 with this when pressing a key in Writer.

https://cgit.freedesktop.org/libreoffice/core/commit/?id=aeff83240c88435d11590f5e9c6fe9927a508c6a

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 120735] Memory usage on file open 4 times higher compared to LibO6.1 (70 vs 280)

2018-10-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=120735

Jean-Baptiste Faure  changed:

   What|Removed |Added

 CC||jbfa...@libreoffice.org
 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

--- Comment #2 from Jean-Baptiste Faure  ---
My results 
- with LO 6.1.2 from Ubuntu PPA: 181 Mo
- with LO 6.1.4.0.0+ built at home : 179 Mo
- with LO  6.2.0.0.alpha0+ : 338 Mo

It is not 4 times higher but the change seems very big and it suggests there's
a bug. Set to NEW.

Version: 6.2.0.0.alpha0+
Build ID: b9d06c893df399e16572381d086db42be12186eb
Threads CPU : 4; OS : Linux 4.15; UI Render : par défaut; VCL: gtk3; 
Ubuntu_18.04_x86-64
Locale : fr-FR (fr_FR.UTF-8); Calc: threaded

Best regards. JBF

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 120735] Memory usage on file open 4 times higher compared to LibO6.1 (70 vs 280)

2018-10-20 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=120735

--- Comment #1 from Telesto  ---
Created attachment 145863
  --> https://bugs.documentfoundation.org/attachment.cgi?id=145863=edit
Example file

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs