Piush Srivastava
Piush Srivastava

Reputation: 21

Your application used more memory than the safety cap of 500M

I am getting the below error while running the logstash server :-

Error: Your application used more memory than the safety cap of 500M.

Specify -J-Xmx####m to increase it (#### = cap size in MB). Specify -w for full OutOfMemoryError stack trace

Used the log-courier plugin for forwarding the logs to logstash server.But when we use multiline in log-courier we get the above error in logstash server.

Can somebody please help with this issue?

Upvotes: 1

Views: 1932

Answers (1)

Maoz Zadok
Maoz Zadok

Reputation: 5920

increasing logstash LS_HEAP_SIZE value works for me. on Redhat base systems (Centos,Redhat etc) go to /etc/sysconfig/logstash and change LS_HEAP_SIZE

Upvotes: 1

Related Questions