Logstah JVM

Hello,

How can i set the xmx variable for logstash ?

I tried to uncomment LS_HEAP_SIZE="1g" in /etc/default/logstash file but it doesn't work.

Any help please ?

Best regards.
Nizar.

What do you mean? How doesn't it work?

I mean it still running with Xmx=500m