I have a simple sequence of objects I wanna send or get.
In the sequence I have about 6000 objects.
Is it possible that this sequence use about ~30 megabyte memory?
So in this way every object use 5 kilobyte memory.
It seems to me to be quite a lot of memory for an object.
Is there anybody who has got the same experience using TAO?
Thanks,
Andras Lang
ISIS
Vanderbilt University
Please use the PROBLEM-REPORT-FORM. Otherwise it is really difficult to
give you any useful information. As to the size of your objects, doesn't
what you hold in the object matter ? General wisdom also tells that you
probably want to use an iterator and not send the whole sequence across in
a single call.
Carlos ran some tests long ago and he reported sizes like this:
,----
| - Cost per object reference: ~600 bytes.
| - Cost per servant (reference counted) ~80 bytes
| - Cost per servant activation (_this()) ~245 bytes
`----
I am sure that nothing has regressed so much that we are using 5K for an
object. You can always refer to our daily performance and footprint page
at:
http://doc.ece.uci.edu/Stats/index.shtml
Hope this helps.
-kitty.
--
Krishnakumar B <kitty at cs dot wustl dot edu>
Distributed Object Computing Laboratory, Washington University in St.Louis