Bug 133233 - Languagetool: OutOfMemoryError: Java heap space
Summary: Languagetool: OutOfMemoryError: Java heap space
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.4.3.2 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-21 15:29 UTC by Helmut Leininger
Modified: 2021-07-26 09:07 UTC (History)
3 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 Helmut Leininger 2020-05-21 15:29:57 UTC
Every time a tect document is opened, an OutOfMemoryError: Java heap space is thrown.
This problem is present with AdopOpenJDK 13.0.1 with HotSpot JVM.

Windows10 64-bit
LibreOffice 64.3, LanguageTool 4.7

According to AdoptOpenJDK the reason is that LO asks for the Java client.
This client uses significantly less heap memory than the Server version. Most Java deliveries do not ship the client any more.

The solution should be either
- LO does not request the client VM any more
or
- configure/have an option to set an appropriately large heap with -Xmx
Comment 1 Julien Nabet 2020-05-21 20:43:43 UTC
Just for the record there's a 4.8 version for Language Tool
Comment 2 Xisco Faulí 2020-06-29 15:42:25 UTC
(In reply to Julien Nabet from comment #1)
> Just for the record there's a 4.8 version for Language Tool

Hello Helmut Leininger,
Does it crash with version 4.8 ?
Comment 3 Helmut Leininger 2020-06-29 16:21:13 UTC
I did not try 4.8 with AdoptOpenJDK.

However, it works with openjdk and AdoptOpenJDK without Hotspot JVM
Comment 4 QA Administrators 2020-06-30 03:42:13 UTC Comment hidden (obsolete)
Comment 5 BogdanB 2020-09-19 04:59:59 UTC
Hi, Helmut, it is working as now?... 
Do you still have problem with this?
Comment 6 Helmut Leininger 2020-09-19 06:30:06 UTC
I switched over to openjdk, now version 15. No problems so far.

I did not test recently with AdoptOpenJDK with Hotspot JVM
Comment 7 Helmut Leininger 2020-09-19 06:30:40 UTC Comment hidden (obsolete)
Comment 8 QA Administrators 2020-09-20 04:02:46 UTC Comment hidden (obsolete)
Comment 9 Buovjaga 2021-07-26 09:07:56 UTC
Let's close as it worked