Re: [Carbon-dev] Minimum memory for carbon-3.2.0 products

2011-06-06 Thread Sameera Jayasoma
On Mon, Jun 6, 2011 at 10:08 AM, Hiranya Jayathilaka hira...@wso2.comwrote:



 On Mon, Jun 6, 2011 at 10:02 AM, Charitha Kankanamge chari...@wso2.comwrote:

 On Mon, Jun 6, 2011 at 9:46 AM, Hiranya Jayathilaka hira...@wso2.comwrote:



 On Mon, Jun 6, 2011 at 8:48 AM, Charitha Kankanamge 
 chari...@wso2.comwrote:

 Folks,

 Our products consume ~600-700 MB of memory (we noticed this by checking
 the free memory after the server is started), however the release docs of
 most of the products says the minimum memory requirement as 256MB, which is
 totally wrong. G-reg docs correctly mention that it is 1G. Therefore, 
 please
 update all the release docs accordingly.


 The startup script only allows a max heap size of 512 MB (which is good
 enough for most cases - production systems may need more memory depending on
 the load). So how can the server consume 600-700 MB? Have you increased the
 allocated heap size?


 No I did not. I just checked the free memory of my machine before and
 after server startup. I did not do any profiling or any tool based analysis.
 We may need to do that and figure out the exact memory growth.


 Then we have to conclude that it's not the Carbon server which is taking up
 all this memory. It is the JVM + OS + all other applications running on the
 machine. We need to use jconsole to figure out the exact amount of memory
 consumed by the JVM.

 I agree that memory usage has slightly increased in Carbon 3.2.0, but it
 cannot grow up to 600-700 MB range unless the server is heavily loaded. Even
 in that case an OOM will occur and server should crash because our default
 JVM settings do not let the heap grow beyond 512MB.

 +1
Thanks,
Sameera


 Thanks,
 Hiranya




 Similarly, I noticed that ~200-250 MB of memory increase introduced by
 3.2.0 version of carbon because the earlier version (3.1.0) consumes ~400
 MB.


 In any case we should update the documentation and set the minimum memory
 required to 1 GB since OS and other applications running on the server will
 also take up some memory.

 Thanks,
 Hiranya



 Associated JIRA: https://wso2.org/jira/browse/CARBON-10690

 /Charitha

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Hiranya Jayathilaka
 Associate Technical Lead;

 WSO2 Inc.;  http://wso2.org
 E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
 Blog: http://techfeast-hiranya.blogspot.com

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Hiranya Jayathilaka
 Associate Technical Lead;
 WSO2 Inc.;  http://wso2.org
 E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
 Blog: http://techfeast-hiranya.blogspot.com

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Sameera Jayasoma
Technical Lead and Product Manager, WSO2 Carbon

WSO2, Inc. (http://wso2.com)
email: same...@wso2.com
blog: http://tech.jayasoma.org

Lean . Enterprise . Middleware
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Minimum memory for carbon-3.2.0 products

2011-06-06 Thread Anjana Fernando
Hi,

I did a small test by starting up a DSS instance with samples, and by
running the top command in Linux I get the following for the Java process,

* 4133 laf   20   0 1216m 479m  16m S3  6.0   0:58.60 java

Which means, 1216m of virtual memory allocated, and 469m of physical memory.


And in System Statistics from our Carbon console. It gives the following
values,

* Memory Allocated 308.56 MB
* Memory Usage 186.88 MB

So seems it says, we actually only use 187 MB of memory!. Not sure, why
these numbers are different when using different ways to get the memory
usage.

Cheers,
Anjana.

On Mon, Jun 6, 2011 at 12:28 PM, Sameera Jayasoma same...@wso2.com wrote:



 On Mon, Jun 6, 2011 at 10:08 AM, Hiranya Jayathilaka hira...@wso2.comwrote:



 On Mon, Jun 6, 2011 at 10:02 AM, Charitha Kankanamge 
 chari...@wso2.comwrote:

 On Mon, Jun 6, 2011 at 9:46 AM, Hiranya Jayathilaka hira...@wso2.comwrote:



 On Mon, Jun 6, 2011 at 8:48 AM, Charitha Kankanamge 
 chari...@wso2.comwrote:

 Folks,

 Our products consume ~600-700 MB of memory (we noticed this by checking
 the free memory after the server is started), however the release docs of
 most of the products says the minimum memory requirement as 256MB, which 
 is
 totally wrong. G-reg docs correctly mention that it is 1G. Therefore, 
 please
 update all the release docs accordingly.


 The startup script only allows a max heap size of 512 MB (which is good
 enough for most cases - production systems may need more memory depending 
 on
 the load). So how can the server consume 600-700 MB? Have you increased the
 allocated heap size?


 No I did not. I just checked the free memory of my machine before and
 after server startup. I did not do any profiling or any tool based analysis.
 We may need to do that and figure out the exact memory growth.


 Then we have to conclude that it's not the Carbon server which is taking
 up all this memory. It is the JVM + OS + all other applications running on
 the machine. We need to use jconsole to figure out the exact amount of
 memory consumed by the JVM.

 I agree that memory usage has slightly increased in Carbon 3.2.0, but it
 cannot grow up to 600-700 MB range unless the server is heavily loaded. Even
 in that case an OOM will occur and server should crash because our default
 JVM settings do not let the heap grow beyond 512MB.

 +1
 Thanks,
 Sameera


 Thanks,
 Hiranya




 Similarly, I noticed that ~200-250 MB of memory increase introduced by
 3.2.0 version of carbon because the earlier version (3.1.0) consumes ~400
 MB.


 In any case we should update the documentation and set the minimum
 memory required to 1 GB since OS and other applications running on the
 server will also take up some memory.

 Thanks,
 Hiranya



 Associated JIRA: https://wso2.org/jira/browse/CARBON-10690

 /Charitha

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Hiranya Jayathilaka
 Associate Technical Lead;

 WSO2 Inc.;  http://wso2.org
 E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
 Blog: http://techfeast-hiranya.blogspot.com

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Hiranya Jayathilaka
 Associate Technical Lead;
 WSO2 Inc.;  http://wso2.org
 E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
 Blog: http://techfeast-hiranya.blogspot.com

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Sameera Jayasoma
 Technical Lead and Product Manager, WSO2 Carbon

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://tech.jayasoma.org

 Lean . Enterprise . Middleware

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
*Anjana Fernando*
Senior Software Engineer
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Minimum memory for carbon-3.2.0 products

2011-06-06 Thread Afkham Azeez
-1 for increasing Xmx to 1GB. We don't need that much memory OOTB. We have
separate production recommendations which have a set of different JVM tuning
params.


On Mon, Jun 6, 2011 at 8:48 AM, Charitha Kankanamge chari...@wso2.comwrote:

 Folks,

 Our products consume ~600-700 MB of memory (we noticed this by checking the
 free memory after the server is started), however the release docs of most
 of the products says the minimum memory requirement as 256MB, which is
 totally wrong. G-reg docs correctly mention that it is 1G. Therefore, please
 update all the release docs accordingly.

 Associated JIRA: https://wso2.org/jira/browse/CARBON-10690

 /Charitha

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* http://www.apache.org/**
email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
blog: **http://blog.afkham.org* http://blog.afkham.org*
twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Minimum memory for carbon-3.2.0 products

2011-06-05 Thread Supun Kamburugamuva
I guess 600-700 MB is too much for a server. Wonder who is consuming
this memory. We may have to profile and see.

Thanks,
Supun..

On Mon, Jun 6, 2011 at 8:48 AM, Charitha Kankanamge chari...@wso2.com wrote:
 Folks,

 Our products consume ~600-700 MB of memory (we noticed this by checking the
 free memory after the server is started), however the release docs of most
 of the products says the minimum memory requirement as 256MB, which is
 totally wrong. G-reg docs correctly mention that it is 1G. Therefore, please
 update all the release docs accordingly.

 Associated JIRA: https://wso2.org/jira/browse/CARBON-10690

 /Charitha

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev





-- 
Supun Kamburugamuva
Technical Lead   Product Manager, WSO2 Inc.; http://wso2.com
Member, Apache Software Foundation; http://www.apache.org
WSO2 Inc.;  http://wso2.org
E-mail: su...@wso2.com;  Mobile: +94 77 431 3585
Blog: http://supunk.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Minimum memory for carbon-3.2.0 products

2011-06-05 Thread Hiranya Jayathilaka
On Mon, Jun 6, 2011 at 8:48 AM, Charitha Kankanamge chari...@wso2.comwrote:

 Folks,

 Our products consume ~600-700 MB of memory (we noticed this by checking the
 free memory after the server is started), however the release docs of most
 of the products says the minimum memory requirement as 256MB, which is
 totally wrong. G-reg docs correctly mention that it is 1G. Therefore, please
 update all the release docs accordingly.


The startup script only allows a max heap size of 512 MB (which is good
enough for most cases - production systems may need more memory depending on
the load). So how can the server consume 600-700 MB? Have you increased the
allocated heap size?

In any case we should update the documentation and set the minimum memory
required to 1 GB since OS and other applications running on the server will
also take up some memory.

Thanks,
Hiranya



 Associated JIRA: https://wso2.org/jira/browse/CARBON-10690

 /Charitha

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Minimum memory for carbon-3.2.0 products

2011-06-05 Thread Charitha Kankanamge
 On Mon, Jun 6, 2011 at 9:46 AM, Hiranya Jayathilaka hira...@wso2.comwrote:



 On Mon, Jun 6, 2011 at 8:48 AM, Charitha Kankanamge chari...@wso2.comwrote:

 Folks,

 Our products consume ~600-700 MB of memory (we noticed this by checking
 the free memory after the server is started), however the release docs of
 most of the products says the minimum memory requirement as 256MB, which is
 totally wrong. G-reg docs correctly mention that it is 1G. Therefore, please
 update all the release docs accordingly.


 The startup script only allows a max heap size of 512 MB (which is good
 enough for most cases - production systems may need more memory depending on
 the load). So how can the server consume 600-700 MB? Have you increased the
 allocated heap size?


No I did not. I just checked the free memory of my machine before and after
server startup. I did not do any profiling or any tool based analysis. We
may need to do that and figure out the exact memory growth.

Similarly, I noticed that ~200-250 MB of memory increase introduced by 3.2.0
version of carbon because the earlier version (3.1.0) consumes ~400 MB.


 In any case we should update the documentation and set the minimum memory
 required to 1 GB since OS and other applications running on the server will
 also take up some memory.

 Thanks,
 Hiranya



 Associated JIRA: https://wso2.org/jira/browse/CARBON-10690

 /Charitha

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Hiranya Jayathilaka
 Associate Technical Lead;

 WSO2 Inc.;  http://wso2.org
 E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
 Blog: http://techfeast-hiranya.blogspot.com

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Minimum memory for carbon-3.2.0 products

2011-06-05 Thread Hiranya Jayathilaka
On Mon, Jun 6, 2011 at 10:02 AM, Charitha Kankanamge chari...@wso2.comwrote:

 On Mon, Jun 6, 2011 at 9:46 AM, Hiranya Jayathilaka hira...@wso2.comwrote:



 On Mon, Jun 6, 2011 at 8:48 AM, Charitha Kankanamge chari...@wso2.comwrote:

 Folks,

 Our products consume ~600-700 MB of memory (we noticed this by checking
 the free memory after the server is started), however the release docs of
 most of the products says the minimum memory requirement as 256MB, which is
 totally wrong. G-reg docs correctly mention that it is 1G. Therefore, please
 update all the release docs accordingly.


 The startup script only allows a max heap size of 512 MB (which is good
 enough for most cases - production systems may need more memory depending on
 the load). So how can the server consume 600-700 MB? Have you increased the
 allocated heap size?


 No I did not. I just checked the free memory of my machine before and after
 server startup. I did not do any profiling or any tool based analysis. We
 may need to do that and figure out the exact memory growth.


Then we have to conclude that it's not the Carbon server which is taking up
all this memory. It is the JVM + OS + all other applications running on the
machine. We need to use jconsole to figure out the exact amount of memory
consumed by the JVM.

I agree that memory usage has slightly increased in Carbon 3.2.0, but it
cannot grow up to 600-700 MB range unless the server is heavily loaded. Even
in that case an OOM will occur and server should crash because our default
JVM settings do not let the heap grow beyond 512MB.

Thanks,
Hiranya




 Similarly, I noticed that ~200-250 MB of memory increase introduced by
 3.2.0 version of carbon because the earlier version (3.1.0) consumes ~400
 MB.


 In any case we should update the documentation and set the minimum memory
 required to 1 GB since OS and other applications running on the server will
 also take up some memory.

 Thanks,
 Hiranya



 Associated JIRA: https://wso2.org/jira/browse/CARBON-10690

 /Charitha

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Hiranya Jayathilaka
 Associate Technical Lead;

 WSO2 Inc.;  http://wso2.org
 E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
 Blog: http://techfeast-hiranya.blogspot.com

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev



 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev