You are viewing a plain text version of this content. The canonical link for it is here.
Posted to olio-user@incubator.apache.org by hao zhang <ju...@gmail.com> on 2010/08/09 23:22:00 UTC

Memory is consumed, but never freed during benchmark run

Hi, All
I met a problem of running Olio-java with glassfishv3. The used memory
is never freed during the benchmark run and eventually the machine
only has a free memory size of about 500 MB, which serious impacts the
results. The machine has 4G memory and after about 20 minute run,
there is about 500 MB free memory and there come a lot of warning
message, like "http:... jpg, size=0..."
So did I misconfigure the glassfishv3 or miss any parameter? Thanks.

Hao

Re: Memory is consumed, but never freed during benchmark run

Posted by Amanda Waite <am...@googlemail.com>.
What are the memory settings for the Glassfish instance? Use tools like
jstat and jconsole to look at Garbage Collection. Is the heap  growing, is
the process size growing. If it's the heap is growing, use jmap -histo <pid>
to generate a histogram of the heap object allocation. (use the jps command
to identify Java processes).

Amanda

On Tue, Aug 10, 2010 at 12:22 AM, hao zhang <ju...@gmail.com>wrote:

> Hi, All
> I met a problem of running Olio-java with glassfishv3. The used memory
> is never freed during the benchmark run and eventually the machine
> only has a free memory size of about 500 MB, which serious impacts the
> results. The machine has 4G memory and after about 20 minute run,
> there is about 500 MB free memory and there come a lot of warning
> message, like "http:... jpg, size=0..."
> So did I misconfigure the glassfishv3 or miss any parameter? Thanks.
>
> Hao
>