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?
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?