jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From I.B. <ig3...@gmail.com>
Subject Re: java heap error
Date Thu, 28 Dec 2006 19:16:01 GMT
Thank you Adym,
i am looking into it.
~i


On 12/28/06, Lincoln, Adym <Adym.Lincoln@libertymutual.com> wrote:
> I.B.,
>
> I'm stumped...There's nothing I see in XP sp2 and JDK 1.5.0_xx that
> would indicate a problem.
>
> The next steps would be...
> - Check the failing machine processes.  If the failing machine has lots
> of processes that have utilized all the RAM memory, then it won't matter
> what -Xms and -Xmx are set to, the JVM will only be allocating what it
> can get.  Put another way, just because -Xms1024m and -Xmx1024m are
> passed into the JVM, does NOT mean it will actually get 1024m.
> - If the above checks out, make sure Garbage collection on both machines
> is managed by the JVM...i.e. even if you did not tinker with this, you
> should probably check the failing machine to make sure it didn't get
> turned off by accident.  I forget how this check is done, but a quick
> Google should turn up the answer.  I believe it's also controlled via a
> command line parameter.
> - If the above doesn't work, as a last ditch effort you'll need to
> monitor how garbage collection is managed.  Go get jvmstat off the Sun
> Microsystems's web site.  Install, setup, configure and run jmeter thru
> it to graphically monitor garbage collection.  I used jvmstat under
> 1.4.2 and it worked pretty good...
> [
> http://java.sun.com/docs/hotspot/gc1.4.2/#4.1.When%20to%20Use%20the%20Th
> roughput%20Collector|outline ]
>
> There should be a similar article for the 1.5.0 JDK...
>
> hth,
>
> Adym Lincoln
> I/S Corporate - I/S Internal Applications
> 603-245-3744
> Ext : 53744
> adym.lincoln@libertymutual.com
>
> ...
> Basic Math : Music * Audio = Emotion
> Adym Math  : Green Day * JBL = Happiness ...
> ...
>
> -----Original Message-----
> From: I.B. [mailto:ig3v10@gmail.com]
> Sent: Thursday, December 28, 2006 1:33 PM
> To: JMeter Users List
> Subject: Re: java heap error
>
> working system:
>
> java version "1.5.0_06"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
> Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)
>
> failing system:
>
> java version "1.5.0_04"
> Java <TM> 2 Runtime Environment, Standard Edition <build 1.5.0_04-b05>
> Java HotSpot<TM> Client VM <build 1.5.0_04-b05, mixed mode>
>
>
> ~i
>
>
> On 12/28/06, Lincoln, Adym <Adym.Lincoln@libertymutual.com> wrote:
> > Nothing wrong with that...
> >
> > What version of the JDK are you running then?
> >
> >
> >
> > Adym Lincoln
> > I/S Corporate - I/S Internal Applications
> > 603-245-3744
> > Ext : 53744
> > adym.lincoln@libertymutual.com
> >
> > ...
> > Basic Math : Music * Audio = Emotion
> > Adym Math  : Green Day * JBL = Happiness ...
> > ...
> >
> > -----Original Message-----
> > From: I.B. [mailto:ig3v10@gmail.com]
> > Sent: Thursday, December 28, 2006 1:23 PM
> > To: JMeter Users List
> > Subject: Re: java heap error
> >
> > both systems are XP Pro sp2
> >
> > ~ig
> >
> > On 12/28/06, Lincoln, Adym <Adym.Lincoln@libertymutual.com> wrote:
> > > What's the OS on both systems?
> > >
> > >
> > > Adym Lincoln
> > > I/S Corporate - I/S Internal Applications
> > > 603-245-3744
> > > Ext : 53744
> > > adym.lincoln@libertymutual.com
> > >
> > > ...
> > > Basic Math : Music * Audio = Emotion
> > > Adym Math  : Green Day * JBL = Happiness ...
> > > ...
> > >
> > > -----Original Message-----
> > > From: I.B. [mailto:ig3v10@gmail.com]
> > > Sent: Thursday, December 28, 2006 1:16 PM
> > > To: JMeter Users List
> > > Subject: Re: java heap error
> > >
> > > Xms and Xmx values set to 1024m
> > > but the issue persists
> > >
> > > ~i
> > >
> > >
> > > On 12/28/06, Lincoln, Adym <Adym.Lincoln@libertymutual.com> wrote:
> > > > ~I.B.,
> > > >
> > > > First thing, solve the issue:
> > > > - Try to bump up the HEAP size on the system where it does NOT
> work.
> > > > - Depending on whether you are using Windoze or *nix, there should
> > be
> > > a
> > > > BAT or Shell script file called jmeter.bat/jmeter.
> > > > - Edit the script and locate the HEAP parameter...should have
> > -Xms256m
> > > > -Xmx256m.
> > > > - Change this to something like -Xms512m -Xmx1024m.
> > > > - Then try it again...
> > > >
> > > > hth,
> > > >
> > > > Adym Lincoln
> > > > I/S Corporate - I/S Internal Applications
> > > > 603-245-3744
> > > > Ext : 53744
> > > > adym.lincoln@libertymutual.com
> > > >
> > > > ...
> > > > Basic Math : Music * Audio = Emotion
> > > > Adym Math  : Green Day * JBL = Happiness ...
> > > > ...
> > > >
> > > > -----Original Message-----
> > > > From: I.B. [mailto:ig3v10@gmail.com]
> > > > Sent: Thursday, December 28, 2006 1:03 PM
> > > > To: jmeter-user@jakarta.apache.org
> > > > Subject: java heap error
> > > >
> > > > Hi,
> > > >
> > > > i have LP scenario that runs well on my machine,
> > > > but on another system jmeter complains with :
> > > >
> > > > "" java.lang.OutOfMemoryError: Java heap space""
> > > >
> > > > in jmeter.log file
> > > >
> > > > both systems have the same:
> > > > jmeter 2.2
> > > > jmeter.bat
> > > > java -version
> > > > memory
> > > > cpu
> > > >
> > > >
> > > > what else can give me this error?
> > > > thank you
> > > > ~i
> > > >
> > > >
> > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > > > For additional commands, e-mail:
> jmeter-user-help@jakarta.apache.org
> > > >
> > > >
> > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > > > For additional commands, e-mail:
> jmeter-user-help@jakarta.apache.org
> > > >
> > > >
> > >
> > >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> > >
> > >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

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


Mime
View raw message