Bug 93615 - LibO automatic spellchecking eats too much RAM
Summary: LibO automatic spellchecking eats too much RAM
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Linguistic (show other bugs)
Version:
(earliest affected)
4.4.5.2 release
Hardware: Other Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-24 09:32 UTC by Yan Pas
Modified: 2017-01-27 06:01 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
test (23.55 KB, application/vnd.oasis.opendocument.text)
2015-08-24 09:33 UTC, Yan Pas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yan Pas 2015-08-24 09:32:11 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36
Build Identifier: LibreOffice 4.4.5.2

Libreoffice automatic spell-checking (underlines unknown words with red line) eats too much RAM. For example for 60k symbols odt document - 40MB of RAM. Moreover when the document is closed - this RAM isn't loaded out (mem leak) see also #92482

Reproducible: Always

Steps to Reproduce:
1. Open attached doc with disabled automatic spellcheck, measure ram
2. enable auto spell-checking, measure ram
Number of unknown words does not correlate with amount of ram been eaten



[Information automatically included from LibreOffice]
Locale: ru
Module: TextDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes


Reset User Profile?No
Comment 1 Yan Pas 2015-08-24 09:33:26 UTC
Created attachment 118109 [details]
test
Comment 2 Buovjaga 2015-09-12 15:37:57 UTC
(In reply to Yan Pashkovsky from comment #1)
> Created attachment 118109 [details]
> test

My RAM usage for soffice.bin increased 4 MB.

What is your result with 5.0.1?

Win 7 Pro 64-bit, Version: 5.0.1.2 (32-bit)
Build ID: 81898c9f5c0d43f3473ba111d7b351050be20261
Locale: fi-FI (fi_FI)
Comment 3 Yan Pas 2015-09-12 18:23:38 UTC
Linux 3.16, all extensions off, version 5.0.1 - plus 20MB of RAM. With one extension enbled +30 MB of RAM. Also closing this document or disabling grammar checking doesn't reduce mem usage - memleak. See also #92482
Comment 4 tommy27 2017-01-26 09:58:05 UTC
@Yan
is bug still present in LibO 5.2.4.2?
Comment 5 Yan Pas 2017-01-26 21:54:05 UTC
Now it eats 15-20 mb, ot so critical, may be closed
Comment 6 tommy27 2017-01-27 06:01:57 UTC
thanks for feedback.
RESOLVED WORKSFORME