Source report: Out of Memory Exception
Brought to you by:
groboclown
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.
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.
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.