Hi all,

I have a cloud server with 4GB RAM in which I have installed PIO
0.12.0-incubating and a few other things. However, I'm having trouble
running even the smallest examples as it runs out of RAM (plus the swap is
also full).

I have set a limit for ES in jvm.options as follows:
-Xms512m
-Xmx512m

Before training and deploying I limit java's RAM usage as follows:

export JAVA_OPTS="-Xmx1g -Xms1g -Dfile.encoding=UTF-8"
pio train  -- --driver-memory 1G --executor-memory 1G
nohup pio deploy > deploy.out &

Are there any more measures I can take to limit RAM usage?

I would like to know I've done absolutely everything possible before paying
to get more RAM on the server.

Thank you for your help!
Noelia

Reply via email to