System error - java.lang.OutOfMemoryError

Amey Nevrenkar September 27, 2011

Hi

I am getting this error for past few days in confluence when I try to click system information i get system error

and the cause points to java.lang.OutOfMemoryError.

I have tried increasing the heap size, of tomcat as well as JVM, by going in window registry.

can someone help.

below is the screen shot of the error message.

System Error

A system error has occurred — our apologies!

For immediate troubleshooting, consult our knowledge base for a solution.

If you would like to receive support from Atlassian's support team, ask your Confluence administrator to create a support issue on Atlassian's support system with the following information:

  1. a description of your problem and what you were doing at the time it occurred
  2. a copy of the error and system information found below
  3. a copy of the application logs (if possible).

Your Confluence administrator can use the support request form to create a support ticket which will include this information.

We will respond as promptly as possible.
Thank you!

Return to site homepage…

Cause

org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getModifications' in class com.atlassian.confluence.admin.actions.ViewSystemInfoAction threw exception java.lang.OutOfMemoryError at /admin/systeminfo.vm[line 99, column 23]
at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:237)

caused by: java.lang.OutOfMemoryError
at java.io.FileInputStream.readBytes(Native Method)

Stack Trace:[hide]

org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getModifications' in  class com.atlassian.confluence.admin.actions.ViewSystemInfoAction threw exception java.lang.OutOfMemoryError at /admin/systeminfo.vm[line 99, column 23]
	at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:237)
	at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
	at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:487)
	at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
	at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
	at org.apache.velocity.runtime.directive.Parse.render(Parse.java:260)
	at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
	at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
	at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
	at org.apache.velocity.Template.merge(Template.java:328)
	at org.apache.velocity.Template.merge(Template.java:235)
	at com.opensymphony.webwork.dispatcher.VelocityResult.doExecute(VelocityResult.java:91)
	at com.atlassian.xwork.results.ProfiledVelocityResult.doExecute(ProfiledVelocityResult.java:21)
	at com.opensymphony.webwork.dispatcher.WebWorkResultSupport.execute(WebWorkResultSupport.java:116)
	at com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:263)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:187)
	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
	at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.intercept(DefaultWorkflowInterceptor.java:55)
	at com.atlassian.confluence.core.ConfluenceWorkflowInterceptor.intercept(ConfluenceWorkflowInterceptor.java:35)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)

2 answers

0 votes
Jeremy Largman
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 27, 2011

Hi Amey,

You'll likely want to verify your settings. Make sure the registry settings are being picked up.

Amey Nevrenkar September 28, 2011

Hi Jeremy

I have carried out the steps but it still seems to give the error.

Thanks for the response.

0 votes
AlysonA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 27, 2011

Are you getting this error only when trying to access the System Information section? Also, do you have enough physical memory to allocate to Tomcat (assuming that you're using an EAR-WAR version)?

Please also be sure to restart tomcat once you increase the memory. =)

Amey Nevrenkar September 28, 2011

Hi Alyson

I have carried out the steps but it still seems to give the error.

Thanks for the response.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events