Re: [FB-Discuss] ANT script - out of memory issue

View: New views
1 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: [FB-Discuss] ANT script - out of memory issue

by Muthu Velappan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Try setting jvmargs attribute to ur <findbugs> tag like this.

 

    <findbugs home="${findbugs.home}"  output="html" outputFile="${dist.dir}/my-fb.html" reportLevel="medium" jvmargs="-Xmx512m">

 

Change the memory size with respect your need..

 

~Muthu


From: findbugs-discuss-bounces@... [mailto:findbugs-discuss-bounces@...] On Behalf Of Ben Groeneveld
Sent: Wednesday, March 04, 2009 11:09 PM
To: Collins, Paul; 'findbugs-discuss@...'
Subject: Re: [FB-Discuss] ANT script - out of memory issue

 

Maybe try setting or export ANT_OPTS-Xmx1G.  Ben.

 


From: findbugs-discuss-bounces@... [mailto:findbugs-discuss-bounces@...] On Behalf Of Collins, Paul
Sent: Wednesday, March 04, 2009 7:39 AM
To: 'findbugs-discuss@...'
Subject: [FB-Discuss] ANT script - out of memory issue

 

Hi

 

I have an ANT script that works fine on small war files but if I try to execute it on a large one I get the error below, how do I go about increasing  the memory size? All hints welcome.

findbugs:

 [findbugs] Executing findbugs from ant task

 [findbugs] Running FindBugs...

 [findbugs] Out of memory

 [findbugs] Total memory: 66M

 [findbugs]  free memory: 0M

 [findbugs] Analyzed: C:\built-perforce\deliverables\mposNew-release\janus.war

 [findbugs] Exception in thread "main" java.lang.OutOfMemoryError: Java heap space

 


Regards

Paul Collins

 

 

 

 

 

 

 

 

 

 

 

 

The information contained in this email is intended only for the individual to whom it is addressed. It may contain privileged and/or confidential information.If you have received this message in error please notify the sender immediately and delete the message from your computer. The unauthorised use, disclosure, copying or alteration of this message is forbidden. The sender will not be liable for direct, special, indirect or consequential damage as a result of any virus being passed on, or arising from alteration of the contents of this message by a third party. www.vertexna.com


_______________________________________________
Findbugs-discuss mailing list
Findbugs-discuss@...
https://mailman.cs.umd.edu/mailman/listinfo/findbugs-discuss