I have logstash 1.5.3 running on one of the server where the process details of it are as follows:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
13194 logstash 39 19 2181m 233m 12m S 1.3 4.0 1:09.79 java
The virtual memory as shown is 2181m which is very large. Although I have set the following parameters -Xmx256m -Xms256m -Xss2048k but it not helpful on this server which worked on other server.
The VIRT column shows how much is mapped into the address space of the process. This isn't the same as the RAM usage in the RES column which, in turn, isn't the same thing as the maximum heap size. Numbers that are more interesting then VM size are a) the Java heap utilization (not visible in top(1)) and b) the RES column.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.