Search code examples
javajmeterdashboard

JMeter Dashboard Generation Java Heap Space


I've been able to create dashboards for small amounts of log data (3mb) with JMeter. However, when trying to create dashboards with large amounts of data (35mb), jmeter will throw a java.lang.OutOfMemoryError: Java Heap Space.

So far I've tried to create an environment variable called JVM_ARGS=-Xms1024m -Xmx10240m but I still do not have enough space.

Is there anything else I can try to create these dashboards? Or is there a way to reduce the number of entries that get written to the log file?

Thank you!


Solution

  • There are 2 possibilities :

    • Option 1 : your JVM options are not taken into account. Show the first lines or all content of jmeter.log
    • Option 2 : you have added some dynamic parameter to your http requests that has created a lot of different (name) SampleResult

    Edit 8 october 2018:

    • Root cause was point Option 2