I'm using Jmeter 5.2.1 with HTTP Request to capture performance of a 1GB file download. On executing the script in Non-GUI mode, am receiving below error -
java.lang.OutOfMemoryError: Java heap space Dumping heap to java_pid7536.hprof ... Heap dump file created [555071109 bytes in 17.048 secs] Uncaught Exception java.lang.OutOfMemoryError: Java heap space in thread Thread[Thread Group 1-1,5,main]
jmeter.bat has property "set HEAP=-Xms1g -Xmx1g -XX:MaxMetaspaceSize=256m"
I don't have any listeners in the jmx file and using non-GUI mode to test. May i know what changes i need to do in order to have successsful response