You can tell the Kernel to limit memory usage per process or per user. If you set the limit too low your process will be killed because it can't allocate more memory, but you can tell the Kernel to only limit resident memory while using up all the virtual memory it wants. You can do this with cgroups.
Sent: Monday, February 05, 2018 at 12:56 PM From: "Mikael Pesonen" <mikael.peso...@lingsoft.fi> To: users@jena.apache.org Subject: Limit memory usage of Fuseki server? We have a cloud server with 4gb of memory and after a while system is killing Fuseki server java process for using up all memory. Is it possible to limit memory usage, and what would be the performance penalty for doing that? Thanks. -- Lingsoft - 30 years of Leading Language Management www.lingsoft.fi[http://www.lingsoft.fi] Speech Applications - Language Management - Translation - Reader's and Writer's Tools - Text Tools - E-books and M-books Mikael Pesonen System Engineer e-mail: mikael.peso...@lingsoft.fi Tel. +358 2 279 3300 Time zone: GMT+2 Helsinki Office Eteläranta 10 FI-00130 Helsinki FINLAND Turku Office Kauppiaskatu 5 A FI-20100 Turku FINLAND