You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Alex <ze...@googlemail.com> on 2011/09/08 13:35:07 UTC

weekly memory usage increase by 500 Mb problem

Hi,
My Wicket application eats memory. The memory usage constantly increasing.
So every  week it is growing by 500 Mb. Can anyone suggest where can I start
looking for the reason?
Can JUnit testing help to figure out the reason? How?

I have following set up:
Wicket 1.4.9
Ubuntu 9.10
Tomcat 6

Dependencies:
Spring 2.5.6
postgresql 8.3-603.jdbc4
commons-dbcp 1.4
itextpdf 5.0.4
log4j 1.2.14
slf4j-log4j12 1.4.2

Alex

Re: weekly memory usage increase by 500 Mb problem

Posted by Martin Grigorov <mg...@apache.org>.
For memory issues - Eclipse Memory Analyzer is what you need.
Make a heap dump at the start of your application, then use it for a
while and make another dump, then compare the snapshots.

On Thu, Sep 8, 2011 at 2:37 PM, Martin Makundi
<ma...@koodaripalvelut.com> wrote:
> Try jprofiler ;)
>
> 2011/9/8 Alex <ze...@googlemail.com>:
>> Hi,
>> My Wicket application eats memory. The memory usage constantly increasing.
>> So every  week it is growing by 500 Mb. Can anyone suggest where can I start
>> looking for the reason?
>> Can JUnit testing help to figure out the reason? How?
>>
>> I have following set up:
>> Wicket 1.4.9
>> Ubuntu 9.10
>> Tomcat 6
>>
>> Dependencies:
>> Spring 2.5.6
>> postgresql 8.3-603.jdbc4
>> commons-dbcp 1.4
>> itextpdf 5.0.4
>> log4j 1.2.14
>> slf4j-log4j12 1.4.2
>>
>> Alex
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: weekly memory usage increase by 500 Mb problem

Posted by Martin Makundi <ma...@koodaripalvelut.com>.
Try jprofiler ;)

2011/9/8 Alex <ze...@googlemail.com>:
> Hi,
> My Wicket application eats memory. The memory usage constantly increasing.
> So every  week it is growing by 500 Mb. Can anyone suggest where can I start
> looking for the reason?
> Can JUnit testing help to figure out the reason? How?
>
> I have following set up:
> Wicket 1.4.9
> Ubuntu 9.10
> Tomcat 6
>
> Dependencies:
> Spring 2.5.6
> postgresql 8.3-603.jdbc4
> commons-dbcp 1.4
> itextpdf 5.0.4
> log4j 1.2.14
> slf4j-log4j12 1.4.2
>
> Alex
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: weekly memory usage increase by 500 Mb problem

Posted by Alex <ze...@googlemail.com>.
I managed to run JProfiler. The startup command should be located not in
CATALINA_OPTS but in JAVA_OPTS. It is really good tool! In the mean time
JProfiler running in Production, I will look on Eclipse Memory Analyzer.
Thank you very much again for your help!

2011/9/13 Alex <ze...@googlemail.com>

> Thank you very much for your answer. I tried to use JProfiler. Under
> Windows it works fine. But in the working environment (Ubuntu 9.10, Tomcat6,
> Java Sun 1.6.0_24 HotSpot 64 bit mixed mode) the list with running JVMs is
> empty. If I use jpenable it says: No unprofiled JVMs found. Unfortunately
> googling did not help. :)
>

Re: weekly memory usage increase by 500 Mb problem

Posted by Alex <ze...@googlemail.com>.
Thank you very much for your answer. I tried to use JProfiler. Under Windows
it works fine. But in the working environment (Ubuntu 9.10, Tomcat6, Java
Sun 1.6.0_24 HotSpot 64 bit mixed mode) the list with running JVMs is empty.
If I use jpenable it says: No unprofiled JVMs found. Unfortunately googling
did not help. :)

Re: weekly memory usage increase by 500 Mb problem

Posted by aksarben <rw...@up.com>.
Junit MIGHT reveal the problem, though I think you'll get much faster results
by using a profiler (I've had good luck with JProfiler).

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/weekly-memory-usage-increase-by-500-Mb-problem-tp3798527p3808451.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org