When looking at Java memory usage you should be aware that when you allow a
certain heap size, this doesn't mean all of the heap is actually used at
some point. A good behaving Java app will allocate up to the max heap, both
"active" object and "dead" objects that are about to be garbage collected.
Over time the garbage will be collected by the VM and the memory usage of
java.exe might drop. Or not. It really depends on your JVM and the settings
you are using.

So what I'm saying is, don't look at the java.exe memory usage, it's just an
indication of what is going on. If you really like to monitor the memory,
hook up a tool like jconsole so see how the allocated memory is used by the
VM. Typically Mid-Tier sucks all of the memory available up to a certain
amount, depending on your application. Some would call that leaking, others
would call that design :P

Hugo

On 8/10/07, Axton <[EMAIL PROTECTED]> wrote:
>
> What are the min and max allowed heap?  If 950mb is in the range, then
> it is acting as expected.  Typical mid-tier configurations have 1gb
> max heap size.
>
> Axton Grams
>
> On 8/10/07, Sokol, Brian <[EMAIL PROTECTED]> wrote:
> > **
> >
> >
> > Hi All,
> >
> > The Java process on my Mid Tier seems to be taking up more and more
> memory.
> > Jave.exe was taking up 950MB.I restarted it and now it is up to
> 137MB.  I am
> > using 1.4.2_13 on Windows 2003 and Mid Tier 7.01. Anyone know if this
> > version of Java has a leak?
> >
> > thanks
> >
> > Brian Sokol
> > Manager, Desktop Services
> > Scholastic Inc.
> > 557 Broadway
> > NY, NY 10012
> > (212) 343-6494
> > http://www.Scholastic.com
> > __20060125_______________________This posting was submitted
> > with HTML in it___
>
>
> _______________________________________________________________________________
> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where
> the Answers Are"
>

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the 
Answers Are"

Reply via email to