Inside the /etc/tomcat6/tomcat6.conf file, the JAVA_OPTS configuration line gives me the ability to set memory limits for Tomcat.
JAVA_OPTS="-Xms256M -Xmx1024M -XX:MaxPermSize=256m -XX:PermSize=128m"
Is there a way to disable memory limits for Tomcat entirely? I want Tomcat to make use of all available memory - I don't want to artificially limit the JVM with these parameters.
Alternatively, is there any harm in making these limits really large?