On Mon, Jun 6, 2011 at 10:08 AM, Hiranya Jayathilaka <[email protected]>wrote:

>
>
> On Mon, Jun 6, 2011 at 10:02 AM, Charitha Kankanamge <[email protected]>wrote:
>
>> On Mon, Jun 6, 2011 at 9:46 AM, Hiranya Jayathilaka <[email protected]>wrote:
>>
>>>
>>>
>>> On Mon, Jun 6, 2011 at 8:48 AM, Charitha Kankanamge 
>>> <[email protected]>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.
>>>>
>>>
>>> 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
>>>> [email protected]
>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Hiranya Jayathilaka
>>> Associate Technical Lead;
>>>
>>> WSO2 Inc.;  http://wso2.org
>>> E-mail: [email protected];  Mobile: +94 77 633 3491
>>> Blog: http://techfeast-hiranya.blogspot.com
>>>
>>> _______________________________________________
>>> Carbon-dev mailing list
>>> [email protected]
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> [email protected]
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Hiranya Jayathilaka
> Associate Technical Lead;
> WSO2 Inc.;  http://wso2.org
> E-mail: [email protected];  Mobile: +94 77 633 3491
> Blog: http://techfeast-hiranya.blogspot.com
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> 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: [email protected]
blog: http://tech.jayasoma.org

Lean . Enterprise . Middleware
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to