You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Ravindra Battula <br...@gmail.com> on 2008/12/14 07:44:35 UTC
RE: WELCOME to user@tuscany.apache.org
Hi Group,
I am relatively new to Tuscany Project and need couple of clarify from you.
Brief Description about the scenario:
I am using Tuscany DAS to access the database and I am pretty much using
private DAS das = DAS.FACTORY.createDAS(getConfig("DBConfig.xml"));
// perform CRUD (create, retrieve, update, delete) operations
das.releaseResources();
Problem:
I am sure after every operation we are releasing resources;
However, when I test the application... the memory usage has been
horrendous; The memory usage rises exponentially and freezes the system.
We are pretty much following the Tuscany documentation / samples. But not
sure... what is going wrong.
Has anyone seen this problem ? Seems like there is huge memory leak... can
you please suggest what needs to be done. When we retrieve DateObject do we
need to destroy the object explicitly. I haven't seen anything in this
regards in Tuscany documentation. Kindly suggest.
Thanks in advance for your help. Appreciate it!
Cheers,
Ravindra
Re: WELCOME to user@tuscany.apache.org
Posted by Luciano Resende <lu...@gmail.com>.
I haven't heard about memory leak issues, do you have an unit test
that we could use to reproduce the problem ?
On Sat, Dec 13, 2008 at 10:44 PM, Ravindra Battula <br...@gmail.com> wrote:
> Hi Group,
> I am relatively new to Tuscany Project and need couple of clarify from you.
>
> Brief Description about the scenario:
>
> I am using Tuscany DAS to access the database and I am pretty much using
>
> private DAS das = DAS.FACTORY.createDAS(getConfig("DBConfig.xml"));
> // perform CRUD (create, retrieve, update, delete) operations
>
> das.releaseResources();
>
>
> Problem:
> I am sure after every operation we are releasing resources;
>
> However, when I test the application... the memory usage has been
> horrendous; The memory usage rises exponentially and freezes the system.
>
> We are pretty much following the Tuscany documentation / samples. But not
> sure... what is going wrong.
> Has anyone seen this problem ? Seems like there is huge memory leak... can
> you please suggest what needs to be done. When we retrieve DateObject do we
> need to destroy the object explicitly. I haven't seen anything in this
> regards in Tuscany documentation. Kindly suggest.
>
> Thanks in advance for your help. Appreciate it!
>
> Cheers,
> Ravindra
>
>
--
Luciano Resende
Apache Tuscany, Apache PhotArk
http://people.apache.org/~lresende
http://lresende.blogspot.com/
Re: WELCOME to user@tuscany.apache.org
Posted by Luciano Resende <lu...@gmail.com>.
I haven't heard about memory leak issues, do you have an unit test
that we could use to reproduce the problem ?
On Sat, Dec 13, 2008 at 10:44 PM, Ravindra Battula <br...@gmail.com> wrote:
> Hi Group,
> I am relatively new to Tuscany Project and need couple of clarify from you.
>
> Brief Description about the scenario:
>
> I am using Tuscany DAS to access the database and I am pretty much using
>
> private DAS das = DAS.FACTORY.createDAS(getConfig("DBConfig.xml"));
> // perform CRUD (create, retrieve, update, delete) operations
>
> das.releaseResources();
>
>
> Problem:
> I am sure after every operation we are releasing resources;
>
> However, when I test the application... the memory usage has been
> horrendous; The memory usage rises exponentially and freezes the system.
>
> We are pretty much following the Tuscany documentation / samples. But not
> sure... what is going wrong.
> Has anyone seen this problem ? Seems like there is huge memory leak... can
> you please suggest what needs to be done. When we retrieve DateObject do we
> need to destroy the object explicitly. I haven't seen anything in this
> regards in Tuscany documentation. Kindly suggest.
>
> Thanks in advance for your help. Appreciate it!
>
> Cheers,
> Ravindra
>
>
--
Luciano Resende
Apache Tuscany, Apache PhotArk
http://people.apache.org/~lresende
http://lresende.blogspot.com/