Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[tao-users] Marshaling/Unmarshaling memory question

0 views
Skip to first unread message

Andras Lang

unread,
May 24, 2002, 7:04:14 PM5/24/02
to
Hi,

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

Krishnakumar B

unread,
May 24, 2002, 7:23:50 PM5/24/02
to
On Friday, 24 May 2002, Andras Lang wrote:
> Hi,
>
> 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.

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

0 new messages