[syslog-ng] java destinations
Fabien Wernli
wernli at in2p3.fr
Mon Jun 26 08:41:23 UTC 2017
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
More information about the syslog-ng
mailing list