export CATALINA_OPTS="-Xms512M -Xmx1024M"
But I got an error when restarting apache tomcat
probe only with:
CATALINA_OPTS="-Xms512M -Xmx1024M"
and similarly I kept generating error; review the log and throw me the following:
java.lang.ClassNotFoundException: export CATALINA_OPTS="- Xms512m -Xmx1024m " at java.net.URLClassLoader $ 1.run (URLClassLoader.java:359) at java.net.URLClassLoader $ 1.run (URLClassLoader.java:348) at java.security.AccessController.doPrivileged (Native Method) at java.net.URLClassLoader.findClass (URLClassLoader.java:347) at java.lang.ClassLoader.loadClass (ClassLoader.java:425) at sun.misc.Launcher $ AppClassLoader.loadClass (Launcher.java:308) at java.lang.ClassLoader.loadClass (ClassLoader.java:358) at org.apache.commons.daemon.support.DaemonLoader.load (DaemonLoader.java:151)
Please can someone tell me if the route on which I am adding the command is ok or is it otherwise, thank you in advance.
Best regards.