Giter Site home page Giter Site logo

Heap space issue about findbugs HOT 6 CLOSED

findbugsproject avatar findbugsproject commented on July 20, 2024
Heap space issue

from findbugs.

Comments (6)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 20, 2024
Would it help if we also reduced the size of the classpath. Currently we are 
including 156 jars which might cause a few of the issues.

Original comment by [email protected] on 14 Mar 2011 at 9:02

from findbugs.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 20, 2024
Just try tuning off effort=max. We've put a lot of work into tuning the normal 
effort so that it finds almost all of the errors you find using effort=max, and 
we haven't put a lot of work into tuning the time and space requirements for 
max.

Reducing the number of classes on the classpath might help. There isn't a lot 
we can do without access to the files you are analyzing. Is it an open source 
project?

Original comment by [email protected] on 14 Mar 2011 at 9:13

  • Changed state: NeedInfo

from findbugs.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 20, 2024
Unfortunately I work for a company, so the code is not open source. A coworker 
found an instance where findbugs was not catching a proper close resource bug. 
I then read more about the effort variable. I can provide you with any kind of 
debugging information, but no source code. I have 2 exams on Thursday, but I 
would be free over spring break to examine the findbugs source code to see 
where is the issue occurring. I was wondering though, if I wanted to 
contribute, how would I go about contributing through google code. 

On a side note, I was wondering if a new rule can be created because I found an 
annoying issue that I see occurring a lot in code. I noticed that in junit test 
code, for an assert method, they usually do assert(expected, actual) instead of 
assert(actual, expected) and was wondering if a very low priority rule can be 
created for this kind of instance.

Thanks again for all your help!

Original comment by [email protected] on 16 Mar 2011 at 8:07

from findbugs.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 20, 2024
Sorry, for the side note, I meant to say instead of doing 
assertEquals(expected, actual) they do assertEquals(actual, expected)

Original comment by [email protected] on 16 Mar 2011 at 8:14

from findbugs.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 20, 2024
I actually fixed it now by splitting up the jar into two separate files and 
running both, one after the other. It found one more violation which is good. 
Thanks again for your help.

Original comment by [email protected] on 23 Mar 2011 at 9:24

from findbugs.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 20, 2024

Original comment by iloveeclipse on 23 Nov 2011 at 10:01

  • Changed state: WontFix

from findbugs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.