Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Memory leaks in Visibroker Corba

Status
Not open for further replies.

Norri

Programmer
Apr 1, 2010
1
FI
Hello,

I have a big problem and I can't find any information about it. I'm using Visibroker Corba and I have defined out param in .idl file:

void MyMethod(
...,
out OutputResult_s pOutputResultOut
)raises(Exception);


struct OutputResult_s
{
....
};

On server I have defined method where out param is passed as null pointer and I have allocate it:

void MyMethod(..., OutputResult_s_out pOutputResultOut)
{
...
pOutputResultOut = new OutputResult_s;
...
return;
}

After calling MyMethod many times in one session the used memory of process rises and I have not idea what to do...


Can anybody help me please?


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top