Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Error while running Fitnesse Test #332

Closed
karanbir opened this Issue · 1 comment

2 participants

@karanbir

Hi,

I have upgraded fitnesse version to 20130531
Afer running any test I am getting following error

org.apache.velocity.exception.MethodInvocationException: Invocation of method 'execute' in class fitnesse.responders.run.TestResponder$TestExecutor threw exception java.lang.OutOfMemoryError: Java heap space at testPage.vm[line 4, column 15] org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:261) org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:187) org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280) org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369) org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342) org.apache.velocity.runtime.directive.Parse.render(Parse.java:260) org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207) org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342) org.apache.velocity.Template.merge(Template.java:356) org.apache.velocity.Template.merge(Template.java:260) fitnesse.responders.templateUtilities.HtmlPage.render(HtmlPage.java:80) fitnesse.responders.run.TestResponder.doSending(TestResponder.java:63) fitnesse.responders.ChunkingResponder.startSending(ChunkingResponder.java:66) fitnesse.http.ChunkedResponse.sendTo(ChunkedResponse.java:25) fitnesse.FitNesseExpediter.sendResponse(FitNesseExpediter.java:96) fitnesse.FitNesseExpediter.start(FitNesseExpediter.java:48) fitnesse.FitNesseServer.serve(FitNesseServer.java:24) fitnesse.FitNesseServer.serve(FitNesseServer.java:17) fitnesse.socketservice.SocketService$ServerRunner.run(SocketService.java:109) java.lang.Thread.run(Unknown Source)

Also, at console I am getting following error

[java] Sep 19, 2013 11:13:27 AM org.apache.velocity.runtime.log.CommonsLogLogChute log
[java] SEVERE: Exception rendering #parse(testPage.vm) at skeleton.vm[line 45, column 4]

Please suggest solution to resolve the same

Thanks & Regards
Karan

@amolenaar
Collaborator

I think you'll have to grant FitNesse a little more memory. You can do this by adding the following argument:

java -Xmx256M -jar fitnesse-standalone.jar

I support 256Mb is sufficient?

@amolenaar amolenaar closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.