On 24 March 2016 at 16:25, Ranieri Mazili <ranier...@gmail.com> wrote: > I could see that jmeter.bat has this parameter inside the script: > set HEAP=-Xms512m -Xmx512m
Yes, that is the default if JVM_ARGS is not used. > ...and I could see that jmeter-server.bat uses this parameter of jmeter.bat > script, so changing on jmeter.bat, jmeter-server.bat was affected and now > it's running with 2048m. Don't edit the file; there's no need. > So, I have a solution for my problem, but ignore JVM_ARGS might be > considered a problem? The command line used to start java includes ... %ARGS% %JVM_ARGS% ... HEAP is part of ARGS so gets overridden by anything in JVM_ARGS > > -- > Ranieri > > On Thu, Mar 24, 2016 at 1:20 PM, Ranieri Mazili <ranier...@gmail.com> wrote: > >> 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 <seb...@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.pastu...@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.chassagn...@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 <ranier...@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-unsubscr...@jmeter.apache.org >>> > For additional commands, e-mail: user-h...@jmeter.apache.org >>> > >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org >>> For additional commands, e-mail: user-h...@jmeter.apache.org >>> >>> >> --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org For additional commands, e-mail: user-h...@jmeter.apache.org