[omniORB] omniORB.cdrUnmarshal() eats up all my memory

Duncan Grisby duncan at grisby.org
Fri Aug 29 13:39:16 BST 2003


On Tuesday 26 August, "Grunewald, Frank" wrote:

> 	I have stored CDR coded TypeCodes in a file using the
> 	following functions: omniORB.cdrMarshal() for CDR coding and
> 	marshal.dump() to store the results in a file.

OK.

> 	If I CDR decode the stored TypeCodes step by step later using:
> 	:
> 	:
> 	notTheEnd=1
> 	while notTheEnd:
> 	  the_octets=marshal.load(CDRdataTypeFileObj)  #-- extract one of the TypeCodes from the file
> 	  typecode=omniORB.cdrUnmarshal(CORBA.TC_TypeCode, the_octets) #--CDR decode the TypeCode
> 	     :
> 	     #-- later I will do something with the created instance <typecode>
> 	 
> I have to notice, that the cdrUnmarshal() function is decreasing
> rapidly my memory.

I don't know what's going wrong. I can't see any memory leaks. Can you
come up with a minimal example that shows the problem?

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --



More information about the omniORB-list mailing list