eHour is running out of memory (java.lang.OutOfMemoryError: Java heap space)
eHour is limited to use a specific amount of memory. In some cases this memory it may use is not enough and you will end up with out of memory errors in your logfile, either: java.lang.OutOfMemoryError: PermGen space or java.lang.OutOfMemoryError: Java heap space.
Luckily it's easy to fix. For the standalone version, navigate to the directory where eHour is installed en open the file ehour.vmoptions. Modify it so that it looks like (order is important!):
And restart eHour
If you deployed the WAR on Tomcat:
Windows: in your Tomcat's bin directory, create a file called setenv.bat with the following contents and restart Tomcat
set JAVA_OPTS=-server -Xmx512m -XX:MaxPermSize=128m
Linux: in your Tomcat's bin directory, create a file called setenv.sh and make it executable with chmod 700 setenv.sh. Edit the contents of that file with the following and restart Tomcat:
export JAVA_OPTS="-server -Xmx512m -XX:MaxPermSize=128m"