On 16/10/2007, Richard Hubbell <[EMAIL PROTECTED]> wrote: > Might as well just say thanks to sebb to start since > all the answers/direction come from them. > > I wanted to utilize more memory resources for the jvm > since I'm seeing some errors that I think are due to > memory constraints imposed by the jmeter script. > I'm an no java expert, hell I'm barely a java > beginner. > But hopefully tuning the jvm is just a matter of > tuning a couple of the main settings. > > I'm going to start by increasing heap size min and > max. > > From the jmeter script I found this broken link is > there something more current to describe the jvm > settings? > http://www.atg.com/portal/myatg/developer?paf_dm=full&paf_gear_id=1100010&detailArticle=true&id=9606
The settings are documented by the Java provider. For example, if you are running Sun Java 1.5 on Windows: http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/java.html > Errors I'm seeing: > jmeter.threads.JMeterThread: Test failed! > java.lang.StackOverflowError > > jmeter.threads.JMeterThread: Test failed! > java.lang.OutOfMemoryError: Java heap space > If this happens almost immediately, it could be due to a bug - e.g the While Controller can cause this, see http://issues.apache.org/bugzilla/show_bug.cgi?id=33954 > What's the format for adding env vars to the > jakarta/bin/jmeter script? > > For example if I wanted to add more logging for gc? > For doing so on command-line this is the option > -Xloggc:file > > How to translate to use in the jmeter script? > This is a DOS question. You can just add it to the command line. If you don't want to edit the file, then try: > set JVM_ARGS=-Xloggc:file > jmeter [args] > > > ____________________________________________________________________________________ > Looking for a deal? Find great prices on flights and hotels with Yahoo! > FareChase. > http://farechase.yahoo.com/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

