Service Restarts almost daily - PermGen Space and OutOfMemory issues

Service Restarts almost daily - PermGen Space and OutOfMemory issues

We are consistently running into an issue where something is causing the application to run out of memory. My suspicion is something with reports being built or certain views being constantly refreshed, however, I am not completely sure. The SQL server itself is fine but it seems to be java that is running out of memory. We get errors like the following almost once a day and end up having to restart the service.
 
[06:09:39:335]|[02-10-2015]|[SYSOUT]|[INFO]|[47]|: [JBOSS] Engine: StandardContext[]Marking servlet org.apache.jsp.setup.CategoryList_jsp as unavailable|
[06:09:43:391]|[02-10-2015]|[SYSOUT]|[INFO]|[47]|: [JBOSS] Engine: ApplicationDispatcher[] Allocate exception for servlet org.apache.jsp.setup.CategoryList_jsp[JBOSS] Engine: StandardWrapperValve[action]: Servlet.service() for servlet action threw exception[JBOSS] CoyoteAdapter: An exception or error occurred in the container during the request processing[JBOSS] Http11Processor: Error processing request[JBOSS] Http11Protocol: Error reading request, ignoredjava.lang.OutOfMemoryError: PermGen space
|
 
 
 
Also, here are some of our settings that may be helpful:
 
Wrapper.conf

# Initial Java Heap Size (in MB)
wrapper.java.initmemory=128
# Maximum Java Heap Size (in MB)
wrapper.java.maxmemory=7168
 
 
run.bat
 
rem Sun JVM memory allocation pool parameters. Uncomment and modify as appropriate.
set JAVA_OPTS=%JAVA_OPTS% -Xms256m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=512m
 
Thank you in advance for helping us to resolve this issue.
 
 
 
              New to ADManager Plus?

                New to ADSelfService Plus?