Can I set Xms or Xmx on logstash 5.2.2?

Hi~,
I'm using Logstash 5.2.2.
I edited jvm.option (-Xms256m -Xmx256m)
but Logstash started with 1G Maximum Java Heap Size
(I monitored with Java Mission Control)
Was I wrong..?

In addition, this is my start command.

.\bin\logstash.bat -f config\logstash.conf

Thanks!

jvm.options is only used by Unix-like systems. Windows JVM settings can be changed in the setup.bat file.

oops,, Thank you!
I forgot to attach my environment.

OS : Windows Server 8002 R2 Standard(64bit, S1)
RAM : 4.00GB

So, I edited setup.bat file

if "%LS_HEAP_SIZE%" == "" (
set LS_HEAP_SIZE=1g
)

to

if "%LS_HEAP_SIZE%" == "" (
set LS_HEAP_SIZE=256m
)

In my local PC, It works great.
but In Windows Server, It dosen't work

I guess,,
because this server is on the virtual environment, it works bad.

Thanks theuntergeek!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.