I'm setting up an environment to run some web apps developed in Grails, and deployed in Tomcat.
I made the default configuration and the first web app deployed just fine, but after logging in, the page no longer loads. When I check the logs, I'm getting an out of space error. I was reading a lot of posts and comments in blogs about how to increase the Java memory, which I did, but now, there's another error (after doing a setenv.sh file):
And my setenv.sh file looks like this:
export JAVA_OPTS="-Dfile.encoding=UTF-8 -Xms512m -Xmx512m"
When I execute the java -version
command, I'm getting this:
java version "1.8.0_77"
Java(TM) SE Runtime Environment (build 1.8.0_77-b03)
Java HotSpot(TM) Client VM (build 25.77-b03, mixed mode)
And the memory available in the server: