You have tons of free memory. What's the exact error message and where did you find it? The Logstash log?
And I can't find any document about how to configure logstash's memory allocation.
The JVM heap size is configured via startup options that are normally set via /etc/default/logstash (Debian-based systems) or /etc/sysconfig/logstash (RPM-based systems).
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.