I’m running elasticsearch with max memory of 400MB.
Here’s the output of ps auxww | grep elasticsearch.
Any tips why it seems to be using 1.6 GB of total memory, and 650MB resident? Could this be an artifact of the virtual machine or something?
108 8243 53.2 16.0 1659168 650692 ? SLl 17:41 0:04 /usr/lib/jvm/java-7-oracle/bin/java -Xms400m -Xmx400m -Xss256k -Djava.awt.headless=true -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError -Delasticsearch -Des.pidfile=/var/run/elasticsearch.pid -Des.path.home=/usr/share/elasticsearch -cp :/usr/share/elasticsearch/lib/elasticsearch-0.90.9.jar:/usr/share/elasticsearch/lib/:/usr/share/elasticsearch/lib/sigar/ -Des.default.config=/etc/elasticsearch/elasticsearch.yml -Des.default.path.home=/usr/share/elasticsearch -Des.default.path.logs=/var/log/elasticsearch -Des.default.path.data=/var/lib/elasticsearch -Des.default.path.work=/tmp/elasticsearch -Des.default.path.conf=/etc/elasticsearch org.elasticsearch.bootstrap.ElasticSearch
I’m coming from a 32-bit environment as well, so it’s possible that is involved
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
I believe there is something wrong of course. try to reboot the droplet and see how things go. <br> <br>if nothing changed, then you need to check the processes running on your server. <br> <br>also you can the used RAM check to see where it is being used: <br> <br>egrep --color ‘Mem|Cache|Swap’ /proc/meminfo <br> <br>then possibly you can use ulimit to stop the RAM from being over used if you like: <br> <br>ulimit -S -n 2048 <br>or <br>ulimit -n 2048 <br>or <br>ulimit -S -n 4096 <br> <br>or whatever limit you like to limit all process at… <br> <br>Good luck!!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.