Re: Memory leaks in orbit and/or CORBA::ORBit 0.4.3?



Hi,

Thank you for your efforts, I will double-check my own tests.
Which patch for the 'incomplete message received' error do
you mean exactly? Is it this one (to be issued on demarshal.c of the
Perl module):

--- demarshal.oldFri Apr 27 09:55:54 2001
+++ demarshal.cFri Apr 27 09:55:47 2001
@@ -7,7 +7,7 @@
#include "types.h"

#define RECV_BUFFER_LEFT(buf) \
- (((guchar *)buf->message_body + GIOP_MESSAGE_BUFFER(buf)->message_header.message_size) - (guchar *)buf->cur)
+ (((guchar *)buf->message_body + 12 + GIOP_MESSAGE_BUFFER(buf)->message_header.message_size) - (guchar *)buf->cur)

static CORBA_boolean

taken from
http://mail.gnome.org/archives/orbit-perl-list/2001-April/msg00004.html


Thank you,
Wolfgang


On Thu, 18 Oct 2001, Sreeji K Das wrote:

> Hi
> I ran the client in a loop (after running server &), but never found the
> server gobbling up memory. It stayed constant at 2.8K
>
> Used the following combos:
>
> perl 5.005_03
> CORBA::ORBit-0.4.3 - ORBit-0.5.8
> CORBA::ORBit-0.4.2 - ORBit-0.5.3
>
> I don't have any other ORBit version installed. BTW have you applied the
> right patch for the 'incomplete message received' error ?
>
> Sreeji
>
> On Wed, 17 Oct 2001, Wolfgang Hottgenroth wrote:
>
> > Hi,
> >
> >
> > are there any known memory leaks either in ORBit (I tried 0.5.7 and 0.5.10)
> > and/or in the Perl module CORBA::ORBit 0.4.3?
> >
> > I've written a really trivial test script consisting of a client and a server
> > and have to note that the server will grow.
> > (Here http://mail.gnome.org/archives/orbit-list/2001-October/msg00077.html
> > you can see the code of my test scripts. I saw the server growing on both
> > Linux and Solaris.)
> >
> >
> > Thanks,
> > Wolfgang
> >
> >
> >
> >
> > _______________________________________________
> > orbit-list mailing list
> > orbit-list@gnome.org
> > http://mail.gnome.org/mailman/listinfo/orbit-list
> >
>
> _______________________________________________
> orbit-list mailing list
> orbit-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/orbit-list
>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]