jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ranieri Mazili <ranier...@gmail.com>
Subject Re: Starting JMeter 2.13 with more memory
Date Thu, 24 Mar 2016 16:20:34 GMT
You right right, without the quotes it worked well, but now when looking in
the process using windows task manager I can see it sets 512m and my
2048m... so which parameter is it using?
Look my printscreen here: http://i.imgur.com/8jtNV7L.png

Or, where do I change this 512 to a bigger value?

--
Ranieri

On Thu, Mar 24, 2016 at 12:48 PM, sebb <sebbaz@gmail.com> wrote:

> Try
>
> set JVM_ARGS=-Xms1024m -Xmx2048m
>
> Unlike Unix, it looks like Windows does not need the enclosing quotes.
> So when you add them it creates a syntax error.
>
>
> On 24 March 2016 at 15:39, jlp <jean-louis.pasturel@orange.fr> wrote:
> >
> > Did you have a space at the beginning and the end of the JVM_ARGS ? or
> > perhaps a masked character in  your bat file? try to rewrite it
> carefully.
> > The syntax for Xms and Xmx  are correct.
> >
> >
> > Le 24/03/2016 16:21, Ranieri Mazili a écrit :
> >>
> >> Same error:
> >>
> >> C:\Temp\apache-jmeter-2.13\bin>set JVM_ARGS="-Xms1024m -Xmx2048m"
> >>
> >> C:\Temp\apache-jmeter-2.13\bin>jmeter-server.bat
> >> Could not find ApacheJmeter_core.jar ...
> >> ... Trying JMETER_HOME=..
> >> Found ApacheJMeter_core.jar
> >> Invalid initial heap size: -Xms1024m -Xmx2048m
> >> Error: Could not create the Java Virtual Machine.
> >> Error: A fatal exception has occurred. Program will exit.
> >> errorlevel=1
> >>
> >> --
> >> Ranieri
> >>
> >> On Thu, Mar 24, 2016 at 12:12 PM, 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
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message