Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#41 Source report: Out of Memory Exception

GroboUtils v4
open
Matt Albrecht
5
2004-02-25
2004-02-25
Ari Erin Miller
No

You can run out of memory when generating a source
report, as follows:

Generating source report
Transform time: 5858ms

BUILD FAILED
java.lang.OutOfMemoryError

This occurred with a fairly large number of instrumented
class files (about 680).
It was fairly easy to resolve, I just set ANT_OPTS=-
Xmx1024m before running again, but it would be nice to
be able to increase the memory for the task
declaratively (no idea if this is possible), or to code the
report generation in such a way as to use less memory
when dealing with large amounts of source.

Discussion

    • labels: --> codecoverage
    • milestone: --> GroboUtils v4
     
  • Matt Albrecht
    Matt Albrecht
    2004-02-25

    Logged In: YES
    user_id=171822

    It's not possible to runtime increase the maximum memory
    usage of the JVM while the JVM is running. However, I'll
    look into ways to reduce the memory usage during report
    generation.

     
  • Matt Albrecht
    Matt Albrecht
    2004-02-25

    • assigned_to: nobody --> groboclown
     
  • Matt Albrecht
    Matt Albrecht
    2004-06-08

    Logged In: YES
    user_id=171822

    Recent changes should have cut down on the memory leaks.
    I'll leave this open until people encountering this issue
    find that it has been resolved.

    The new beta (b3) should be out by the end of this week, so
    you can try it then.