26 Jun
2017
26 Jun
'17
9:41 a.m.
On Fri, Jun 23, 2017 at 05:07:29PM +0200, Sandor Geller wrote:
If you've got control how JVM gets started then you could try limiting the size of the stack (-Xss option) to a large enough value - so this is a bit of iterative process...
Apparently it can be set here: modules/java/native/java_machine.c: self->options[0].optionString = g_strdup_printf( "-Djava.class.path=%s", self->class_path->str); self->options[1].optionString = g_strdup_printf( "-Djava.library.path=%s", resolvedConfigurablePaths.initial_module_path); self->options[2].optionString = g_strdup("-Xrs"); I'll give it a try and report back