Forum Discussion

alibaba82's avatar
alibaba82
Super Contributor
18 years ago

LoadTest Graph

Hello,
I am running a 12 hour loadtest and usually towards the end of the test I get the following error
Exception in thread "AWT-EventQueue-0" java.lang.OutofMemoryError: Java heap space. I have changing the memory setting in the bat file but didnt really help (set JAVA_OPTS=%JAVA_OPTS% -Xms256m -Xmx768m).

I figured its due to running in GUI mode. I wanted to run in command line mode but wanted to know that if I run in command line mode, would it possible to view the graphs ?

Thanks

Ali
  • omatzura's avatar
    omatzura
    Super Contributor
    Hi Ali,

    Unfortunately the graphs are not available from the command-line runners.. What you can do to decrease memory consumption during long-running tests is increase the sample interval from the default 250ms to maybe 2500 ms (in the LoadTest Options dialog), which will decrease memory usage by 90%.. you will see that the graphs/statistics will not be updated as often but that is hopefully not an issue for this kind of tests..

    Hope this helps!

    regards,

    /Ole