I have installed logstash 2.2 on my AWS linux instance .
When I executed the command to test the config file: service logstash configtest I get the heap error as below,
[root@ip-10-34-77-105 conf.d]# service logstash configtest
Error occurred during initialization of VM
Too small initial heap
I ran the below commands to set JAVA options. But no hope
export _JAVA_OPTIONS="-Xmx2048m -Xms1024m"
I increased xmx and xms up to 4096m, but still end up in same error.