I am running tomcat 7.0.33 on a Windows 2008 R2 server (I installed tomcat as a Windows service)
- JDK Version:
jdk1.6.0_25 64-bit Tomcat Options:
- Java virtual machine:
C:\Program Files\Java\jre6\bin\server\jvm.dll (BTW, I do not have a client folder inside jre) - Initial memory pool: 1000 MB
Maximum memory pool: 2000 MB
when I check the status of the server, I see that the server is using the configured memory.
Environment Variables (SYSTEM VARIABLES) Configuration:
- JAVA_HOME:
C:\Program Files\Java\jdk1.6.0_25 - Path:
...;%JAVA_HOME%\bin;....
Do I need to add the CATALINA_HOME and JAVA_OPTS system variables?
QUESTION: I have two web applications APP1 , * APP2 * when I deploy each separately, I can find that memory usage for
APP1 = 198 MB APP2 = 104 MB
Application Information:
APP1, APP2 : Spring Maven applications that include libraries of other small maven Spring applications.
APP1: Contains the web services used by APP2.
if I tried to deploy them both on the same tomcat instance, I always get
java.lang.OutOfMemoryError: PermGen space
Please report what might cause this problem.
source share