2011/12/21 Güçlü Akkaya <guclu.akk...@ardictech.com> > > > > Can you let us know the sizes of the resources that you have > uploaded/downloaded in G-Reg, and if possible a profiled view of your heap > usage? > > > I have been trying to use jconsole for profiling heap usage on the server. > However with jconsole i cannot connect by receiving connection refused > error, even though i disable security and authentication options for jmx > remote monitoring. For modification i added the following under JAVA_OPTS > section of wso2server.sh startup script like this. > > -Dcom.sun.management.jmxremote.port=8083 \ > -Dcom.sun.management.jmxremote.authenticate=false \ > -Dcom.sun.management.jmxremote.ssl=false \ >
Use the JMX URL shown when the server starts up. You don't have to set those values. Login to jconsole with admin/admin. If the used memory increases while a certain task is performed, and returns to the original memory level after the task is completed, by definition, it is NOT a memory leak. > > > Fatih Güçlü Akkaya > > Software Development Engineer > > > > > > > ARDIC ARGE BILGI VE TEKNOLOJI ÇÖZÜMLERI > > APPLIED RESEARCH DEVELOPMENT INNOVATION CENTER > > Tel: + 90 262 642 42 52 > > GSM: + 90 554 542 48 50 > > > > -----Original Message----- > From: carbon-dev-boun...@wso2.org on behalf of Senaka Fernando > Sent: Wed 12/21/2011 11:52 > To: carbon-dev@wso2.org > Subject: Re: [Carbon-dev] Memory usage increase in WSO2 GREG > > Hi Güçlü, > > Can you let us know the sizes of the resources that you have > uploaded/downloaded in G-Reg, and if possible a profiled view of your heap > usage? > > Thanks, > Senaka. > > 2011/12/21 Güçlü Akkaya <guclu.akk...@ardictech.com> > > > ** > > > > By extending the wso2 GREG i have designed a storage server with saves > the > > metadata to database and binary data to a file server with user registry > > implementation used in the WSO2 GREG. For data storage i used a backend > web > > service access the data layer of my application. Both download upload > > function works fine. However each time i make a request for either upload > > or download the RAM usage on the host server increases. For java heap > > arguments are this: -Xms1024m -Xmx8192m -XX:MaxPermSize=256m (My host has > > RAM of 8GB). I am using WSO2 GREG 4.0.0 . What can be the cause of the > > memory consumption increase? Thanks in advance > > > > Fatih Güçlü Akkaya > > > > Software Development Engineer > > > > > > > > > > > > > > ARDIC ARGE BILGI VE TEKNOLOJI ÇÖZÜMLERI > > > > APPLIED RESEARCH DEVELOPMENT INNOVATION CENTER > > > > Tel: + 90 262 642 42 52 > > > > GSM: + 90 554 542 48 50 > > > > > > _______________________________________________ > > Carbon-dev mailing list > > Carbon-dev@wso2.org > > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > > > > > > -- > *Senaka Fernando* > Product Manager - WSO2 Governance Registry; > Associate Technical Lead; WSO2 Inc.; http://wso2.com* > Member; Apache Software Foundation; http://apache.org > > E-mail: senaka AT wso2.com > **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 > Linked-In: http://linkedin.com/in/senakafernando > > *Lean . Enterprise . Middleware > > > _______________________________________________ > 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