You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Sigmar Muuga <me...@gmail.com> on 2010/03/29 16:01:09 UTC
Memory usage
Hello,
my app is about 3-4 pages and its running with spring.
It has database connection and it uses basic authentication.
What should be the maximum memory usage for this? At the moment it takes
422megabytes and this is definately too much for application without any
load and traffic.
Are there any checklist for running wicket appliction with minimal memory?
Sigmar
Re: Memory usage
Posted by Eelco Hillenius <ee...@gmail.com>.
> What should be the maximum memory usage for this? At the moment it takes
> 422megabytes and this is definately too much for application without any
> load and traffic.
If there is no load and traffic, it isn't Wicket occupying your memory.
Try using something like YourKit (http://www.yourkit.com/) and see
what takes up all that memory. Another quick test you can do is see
how much it is when you start up. If it is much lower but grows over
time, you can try triggering a GC run (e.g. through JMX) and see if it
drops down to roughly the startup level. If it is, nothing to worry
about. If it doesn't, you either have a leak, or you're doing some
crazy caching or something.
Eelco
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Memory usage
Posted by Sigmar Muuga <me...@gmail.com>.
Seems that it loads all the stuff into the memory from jars..
On Mon, Mar 29, 2010 at 5:14 PM, Martin Makundi <
martin.makundi@koodaripalvelut.com> wrote:
> So your jit loader is very optimal ;)
>
> **
> Martin
>
> 2010/3/29 Sigmar Muuga <me...@gmail.com>:
> > yeah, I have about 20megs of them :)
> >
> > On Mon, Mar 29, 2010 at 5:03 PM, Martin Makundi <
> > martin.makundi@koodaripalvelut.com> wrote:
> >
> >> Do you have a lots of libraries?
> >>
> >> **
> >> Martin
> >>
> >> 2010/3/29 Sigmar Muuga <me...@gmail.com>:
> >> > Hello,
> >> > my app is about 3-4 pages and its running with spring.
> >> > It has database connection and it uses basic authentication.
> >> >
> >> > What should be the maximum memory usage for this? At the moment it
> takes
> >> > 422megabytes and this is definately too much for application without
> any
> >> > load and traffic.
> >> >
> >> > Are there any checklist for running wicket appliction with minimal
> >> memory?
> >> >
> >> > Sigmar
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> >> For additional commands, e-mail: users-help@wicket.apache.org
> >>
> >>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
Re: Memory usage
Posted by Martin Makundi <ma...@koodaripalvelut.com>.
So your jit loader is very optimal ;)
**
Martin
2010/3/29 Sigmar Muuga <me...@gmail.com>:
> yeah, I have about 20megs of them :)
>
> On Mon, Mar 29, 2010 at 5:03 PM, Martin Makundi <
> martin.makundi@koodaripalvelut.com> wrote:
>
>> Do you have a lots of libraries?
>>
>> **
>> Martin
>>
>> 2010/3/29 Sigmar Muuga <me...@gmail.com>:
>> > Hello,
>> > my app is about 3-4 pages and its running with spring.
>> > It has database connection and it uses basic authentication.
>> >
>> > What should be the maximum memory usage for this? At the moment it takes
>> > 422megabytes and this is definately too much for application without any
>> > load and traffic.
>> >
>> > Are there any checklist for running wicket appliction with minimal
>> memory?
>> >
>> > Sigmar
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Memory usage
Posted by Sigmar Muuga <me...@gmail.com>.
yeah, I have about 20megs of them :)
On Mon, Mar 29, 2010 at 5:03 PM, Martin Makundi <
martin.makundi@koodaripalvelut.com> wrote:
> Do you have a lots of libraries?
>
> **
> Martin
>
> 2010/3/29 Sigmar Muuga <me...@gmail.com>:
> > Hello,
> > my app is about 3-4 pages and its running with spring.
> > It has database connection and it uses basic authentication.
> >
> > What should be the maximum memory usage for this? At the moment it takes
> > 422megabytes and this is definately too much for application without any
> > load and traffic.
> >
> > Are there any checklist for running wicket appliction with minimal
> memory?
> >
> > Sigmar
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
Re: Memory usage
Posted by Martin Makundi <ma...@koodaripalvelut.com>.
Do you have a lots of libraries?
**
Martin
2010/3/29 Sigmar Muuga <me...@gmail.com>:
> Hello,
> my app is about 3-4 pages and its running with spring.
> It has database connection and it uses basic authentication.
>
> What should be the maximum memory usage for this? At the moment it takes
> 422megabytes and this is definately too much for application without any
> load and traffic.
>
> Are there any checklist for running wicket appliction with minimal memory?
>
> Sigmar
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org