Details
-
Bug
-
Resolution: Invalid
-
Major
-
None
-
14.5
-
None
-
Unknown
-
Description
Hi,
I just installed XWiki on Debian following https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Installation/InstallationViaAPT/ using the xwiki-tomcat9-pgsql package, with the recommended 2GB of memory on the system, as outlined here
and the recommended "Xmx 1024" setting as instructed here.
The system will install & DistributionWizard will run fine, but when trying to edit a page, tomcat will crash with out-of-memory errors.
{{[2022-06-29 15:53:38] [info] 2022-06-29 15:53:38,133 [http-nio-127.0.0.1-8080-exec-4 - http://localhost:8080/xwiki/bin/get/TourCode/TourJson?xpage=plain&outputSyntax=plain&tourDoc=Main.WebHome] WARN o.h.e.j.s.SqlExceptionHelper - SQL Error: 0, SQLState: 53200}}
[2022-06-29 15:53:38] [info] 2022-06-29 15:53:38,163 [http-nio-127.0.0.1-8080-exec-4 - http://localhost:8080/xwiki/bin/get/TourCode/TourJson?xpage=plain&outputSyntax=plain&tourDoc=Main.WebHome] ERROR o.h.e.j.s.SqlExceptionHelper - ERROR: out of memory
[2022-06-29 15:53:38] [info] Detail: Failed on request of size 16 in memory context "MessageContext".
[2022-06-29 15:53:39] [info] OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00007f5aa20ed000, 65536, 1) failed; error='Not enough space' (errno=12)
[2022-06-29 15:53:39] [info] #
[2022-06-29 15:53:39] [info] # There is insufficient memory for the Java Runtime Environment to continue.
[2022-06-29 15:53:39] [info] # Native memory allocation (mmap) failed to map 65536 bytes for committing reserved memory.
It would be nice if https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Installation/InstallationViaAPT/ would include actual sizing & memory configuration information that allows for an all-in-one installation & use of XWiki.
Thanks & Kind regards,
Cyman