"out" parameter and memory leak?

A

Alex Chan

Hi Group,

I have written a window service wtih SAP.NET Connector which is to
fulfil request from SAP client. SAP client will call a function exposed by
my window service that has a big "out" parameter. That "out" parameter is of
class SAPTable, you can regard that as DataTable.

As everytime SAP client issue request to my window service, it will
connect to oracle and do some searching and return the result in a SAPTable.
I did a volume test by issuing 10,000 request and observed the memory usage
of the window services jumping from 20mb to 800mb.

I know reading the memory usage from Task Manager is not an accurate
method to judge the footprint of any .NET program. But isn't it my app got
memory leak? is it becoz of the jumbo "out" parameter which i has no way to
free it?

Please advise.

Alex
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top