Re: [xwiki-users] XWiki memory consumption

2010-01-16 Thread Dilipkumar Jadhav
Hello there,
Thanks for suggesting these options in detail. I was already using the max
heap size option.
However, I was not aware of replacing the dll in the jvm. Now, I'm eager to
try this one and see what are the results.
Once again, thank you so much


Hi Dilipkumar,

I've done some tomcat monitoring too (tomcat 6.0.20 (64bit), java 1.6.0_17
and now 1.6.0_18).
- I've never seen more than 96MB memory used for MaxPermGen - and I
understood, that this memory is not used / counted for the heap size.
- For the production system I am using -server -Xms1024m -Xmx2048m
-XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode
- It sounds, that you are using the tomcat service (me too) - please note,
that the -server option should be replaced by selecting the java server
dll.

Kind regards
mb


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] XWiki memory consumption

2010-01-15 Thread Mathias Herberts
Hi,

I am currently running XWiki enterprise v2.1.1 in a Tomcat 6.0.20 on a
dev box. I run into memory consumption problems, jconsole reports hops
of 50Mb when rendering a small page (with no attachements) making use
of the code macro (a single user rendering this page). The same
jconsole also shows roughly 14000 classes loaded! I had to push
MaxPermGen to 128Mb, otherwise I hit OOM.

Any other experience of such a high memory consumption?

Mathias.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki memory consumption

2010-01-15 Thread Thomas Mortagne
On Fri, Jan 15, 2010 at 20:54, Mathias Herberts
mathias.herberts+xwiki-us...@gmail.com wrote:
 Hi,

 I am currently running XWiki enterprise v2.1.1 in a Tomcat 6.0.20 on a
 dev box. I run into memory consumption problems, jconsole reports hops
 of 50Mb when rendering a small page (with no attachements) making use
 of the code macro (a single user rendering this page). The same
 jconsole also shows roughly 14000 classes loaded! I had to push
 MaxPermGen to 128Mb, otherwise I hit OOM.

 Any other experience of such a high memory consumption?

This is caused by Jython initialization (code macro use a python
library Pygments to highlight code) only the first time code macro is
used. I hope they will improve it in the future (they are supposed to
work on it for the next release if i understood well).


 Mathias.
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




-- 
Thomas Mortagne
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki memory consumption

2010-01-15 Thread Dilipkumar Jadhav
Hi Mathias,
I've a fresh new XWiki 2.1.1 installed on a win 2008 server. This is hosted
on 4Gb RAM  3 GHz processor VM.
Tomcat is 6.0.20  MySql is 5.0.37. The memory usage is on the higher side
even though the wiki is practically empty (nothing except the default
pages). What concerns me is that the CPU usage spikes to 100% every once in
a while. Checked the process list  find tomcat eating 98% of CPU usage.
This is definitely scary since this is my production machine. The test
machine which has a similar config (except the OS which is win 2003 server)
works just fine. The tomcat CPU usage doesn't exceed 20% CPU usage ever. And
yes, both machine have same version mysql installed and do not run any other
application or servers.
For the memory part, Tomcat was not satiated with 512 Mb RAM MaxPermGen and
kept throwing OOM almost every day. Had to ramp it to 1024 Mb. That seems to
have taken care of the memory issue for now. 
I am still investigatingthanks.




___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki memory consumption

2010-01-15 Thread Michael Beetz
Hi Dilipkumar,

I've done some tomcat monitoring too (tomcat 6.0.20 (64bit), java 1.6.0_17 and 
now 1.6.0_18).
- I've never seen more than 96MB memory used for MaxPermGen - and I understood, 
that this memory is not used / counted for the heap size.
- For the production system I am using -server -Xms1024m -Xmx2048m 
-XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode
- It sounds, that you are using the tomcat service (me too) - please note, that 
the -server option should be replaced by selecting the java server dll.

Kind regards
mb

-Original Message-
From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of 
Dilipkumar Jadhav
Sent: Samstag, 16. Januar 2010 3:50
To: users@xwiki.org
Subject: Re: [xwiki-users] XWiki memory consumption

Hi Mathias,
I've a fresh new XWiki 2.1.1 installed on a win 2008 server. This is hosted
on 4Gb RAM  3 GHz processor VM.
Tomcat is 6.0.20  MySql is 5.0.37. The memory usage is on the higher side
even though the wiki is practically empty (nothing except the default
pages). What concerns me is that the CPU usage spikes to 100% every once in
a while. Checked the process list  find tomcat eating 98% of CPU usage.
This is definitely scary since this is my production machine. The test
machine which has a similar config (except the OS which is win 2003 server)
works just fine. The tomcat CPU usage doesn't exceed 20% CPU usage ever. And
yes, both machine have same version mysql installed and do not run any other
application or servers.
For the memory part, Tomcat was not satiated with 512 Mb RAM MaxPermGen and
kept throwing OOM almost every day. Had to ramp it to 1024 Mb. That seems to
have taken care of the memory issue for now. 
I am still investigatingthanks.




___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users