首先,我一跑的JMeter與Tomcat服務器8GB的虛擬機上的GUI和非GUI模式,但我得到了500個用戶內存不足的錯誤:Java堆空間在JMeter的未來
Caused by: java.net.SocketExecption: Connection reset by peer: Socket write error
錯誤現在,我已經採取了Tomcat服務器16GB的專用系統,爲400個用戶在GUI模式下,我得到這個錯誤運行JMeter的:
Uncaught exception:java.lang.OutofmemoryError: Java heap space/ GC overhead limit exceeds even after changing the heap size in jmeter.sh file, jmeter.file and windows batch file
什麼導致這個問題呢?
給Tomcat分配多少內存? –
500MB分配 – susmitha
而對於JMeter?對不起,我沒有問在prevouse commet。 –