I have a jar file running on an amazon-ec2-m1.large instance with linux 64bit operating system. I run out of memory after different hours, usually between 2-4, although in m
Solved with the latest jdk. Please try installing java-11-openjdk
java-11-openjdk