描述:wimdows環境,作上傳圖片接口測試,涉及圖片合成和上傳,圖片採用base64編碼。每1s啓動200線程的時候,Jmeter報內存溢出錯誤。java
解決方案:linux
一、修改jmeter.bat:app
# java -version
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) Server VM (build 20.1-b02, mixed mode)
若是是64位的話,最後一行會顯示64-Bit
#java -version
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)