[omniORB] Memory usage per activated object?

Sai-Lai Lo s.lo@uk.research.att.com
Thu, 31 May 2001 13:07:11 -0000


The omniORB number is on the right ball park. I think the per servant number
should be less than this. However, you have not created any object
references out of these servants. Each object reference will take some
space, the bulk of it is the IOR, this will take up a couple of hundreds.

Sai-Lai


----- Original Message -----
From: <mik@geosys.ru>
To: <omniorb-list@uk.research.att.com>
Sent: Thursday, May 31, 2001 12:50 PM
Subject: [omniORB] Memory usage per activated object?


> Hello!
>
> How much memory does an ORB require per each created and activated CORBA
object implementation?
>
> Here is a portion of code of a modified eg2_impl example:
>
> ...
> for (int i = 0; i < 23000; ++i) {
>     Echo_i* myecho = new Echo_i();
>     (void)poa->activate_object(myecho);
> }
> ...
>
> When compiled and run with VisiBroker, it eats up to 90MB of memory (about
4kB/object)! With omniORB it satisfies itself with just 8MB (less than 400
Bytes/object)!!!
>
> Is this VisiBroker/omniORB memory usage ratio correct? Or is it something
wrong with my VisiBroker or omniORB ;-) setup?
>
> Best regards,
> Mikhail
>
> Dr. Mikhail Soukhanov <mailto:mik@geosys.ru.>
>
> Laboratory of Geoinformatics, VNIIgeosistem
> Warszawskoje chaussee 8, Moscow M-105, 113105 Russia
> Tel.: +7(095) 954-21-50 (x101), fax.: +7(095) 958-35-22
> W.W.W.: <http://www.geosys.ru./>
>
>
>
>