How do I set Xms option for JVM

Hi there,

I’m looking for the way to set the Xms option when starting the JVM
I would like to set it equal to Xmx (which is configured by DREMIO_MAX_HEAP_MEMORY_SIZE_MB)
By default there’s no out-of-the box option to set it, am I correct?

Sincerely,

@quangth2 In your dremio-env file you can set the below to pass it as JVM arguements

DREMIO_JAVA_SERVER_EXTRA_OPTS="-Xms1024m"

Then restart Dremio and you will see the below, when you do ps -ef | grep dremio

-Xms1024m
1 Like