jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Starting JMeter 2.13 with more memory
Date Thu, 24 Mar 2016 15:20:51 GMT
The error message is:

Invalid initial heap size: -Xms1024m -Xmx1024m

That suggests that the parameter is invalid, i.e. passing is somehow messed up.

I get the same message on Unix if I run:

java "-Xms1024M -Xmx1024M"

However

java -Xms1024M -Xmx1024M xxx

says
Error: Could not find or load main class xxx


On 24 March 2016 at 15:12, Maxime Chassagneux
<maxime.chassagneux@gmail.com> wrote:
> The initial memory and the max memory can't be equal... try to put Xmx2048m
>
>
> 2016-03-24 16:04 GMT+01:00 Ranieri Mazili <ranieri85@gmail.com>:
>
>> Hello,
>>
>> I need to run jmeter.bat and jmeter-server.bat with more memory because I'm
>> receiving Out of memory with default settings.
>>
>> I've tried to set more memory with the command below before start
>> jmeter-server.bat
>>
>> set JVM_ARGS="-Xms1024m -Xmx1024m"
>>
>> them I tried to run jmeter-server.bat, but I received the following
>> message:
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> *C:\Temp\apache-jmeter-2.13\bin>set JVM_ARGS="-Xms1024m
>> -Xmx1024m"C:\Temp\apache-jmeter-2.13\bin>jmeter-server.batCould not find
>> ApacheJmeter_core.jar ...... Trying JMETER_HOME=..Found
>> ApacheJMeter_core.jarInvalid initial heap size: -Xms1024m -Xmx1024mError:
>> Could not create the Java Virtual Machine.Error: A fatal exception has
>> occurred. Program will exit.errorlevel=1Press any key to continue. . *.
>>
>> I've 8gb of memory, running on windows 7 64bits. What I'm doing wrong?
>>
>> Thanks
>> --
>> Ranieri
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


Mime
View raw message