Menu

#69 Out of Memory error message improvement

open
nobody
None
5
2007-02-27
2007-02-27
No

I have a rather large repository, which was parsed ok by v0.2, but v0.3 gives an Out of Memory error (unless I use -mx256m), although my machine has plenty available.

1. Has something gone wrong in the code that v0.3 needs much more memory?
2. It would be handy to see the actual memory usage in the errormessage so you know what you have to use in the -mx option.
e.g.
private static void printOutOfMemMessageAndExit() {
System.err.println("OutOfMemoryError.");
System.err.println(Runtime.getRuntime().totalMemory());
...

Discussion

  • Martin Fleurke

    Martin Fleurke - 2007-02-27
    • summary: Out of Memory error message wrong --> Out of Memory error message improvement
     
  • Richard Cyganiak

    Logged In: YES
    user_id=584620
    Originator: NO

    Thanks, that's useful feedback, I agree that the suggested change should be included.

    It's quite possible that v0.3 uses more memory -- some internals have changed.

    Moving this over to Feature Requests.

     
  • Richard Cyganiak

    • labels: 448837 -->