[omniORB] freeing memory from sequences

Duncan Grisby duncan at grisby.org
Thu Jul 3 16:51:52 BST 2003


On Tuesday 1 July, Matthew Bettencourt wrote:

> How does one free memory from a sequence??  If I have a sequence of
> lenght 100K and I shorten it to 10 it does not free the memory, is
> there any way to do this othen that create copy and replace??

Yes, you have to copy the contents and replace it. You can do that
with the replace() method of the sequence.

Cheers,

Duncan.

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



More information about the omniORB-list mailing list