[prev in list] [next in list] [prev in thread] [next in thread]
List: jacorb-developer
Subject: RE: [jacorb-developer] Max buffer size
From: "Gianakas, Nick" <NGianakas () LIO ! AACISD ! com>
Date: 2002-10-16 16:54:01
Message-ID: 322F2EC32FDED4118A9B00902745F5DF2B8576 () lio ! aacisd ! com
[Download RAW message or body]
I forgot to include some more information.
I put a println statement in the _invoke method of my POA.
Using it I can tell the _invoke method does not get called.
I also put println statements around my client's sending routine
as such (pseudo-code):
println("1");
myObjHelper.insert(myAny, myArray);
println("2");
myObj.send(myAny);
println("3");
When I run, I see, "1" and "2", but no "3".
So I speculate the problem occurs when the data is being sent.
Also, when I send fewer structs (1 - 250), the data is delivered
correctly.
Regards,
Nick
> -----Original Message-----
> From: Gianakas, Nick [mailto:NGianakas@LIO.AACISD.com]
> Sent: Tuesday, October 15, 2002 7:09 PM
> To: 'jacorb-developer@lists.spline.inf.fu-berlin.de'
> Subject: [jacorb-developer] Max buffer size
>
>
> Hi all,
>
> I'm having a problem sending some large messages and was
> wondering if it's a
> result of the buffer sizes.
> I have a struct which consists of 2 octet sequences. I'm creating a
> sequence of these structs, packing them into an 'any', and
> sending them.
> My max size for the 2 octet sequences are 3000 and 13000 bytes.
> My max number of these structs in the container sequence is 600.
> So my max data size for this message is: 600 * (3000 + 13000) = 9.6MB.
>
> I notice that when I send only 270 of these structs (4.32
> MB), my client's
> CPU goes to 100% continuous, and after a few seconds, I get
> the message,
> "Delegate gc'ed". I believe this is the garbage collector.
> The CPU remains
> at 100% utilization until I manually kill it (Ctrl+C).
>
> Client and Server are both Java using JacORB.
>
> So I was looking through the documentation and found some attributes.
> The most interesting was: jacorb.maxManagedBufSize.
>
> It's description says, "This is NOT the maximum buffer size
> that can be
> used..."
>
> Can I set the maximum buffer size that can be used? Better
> yet, given the
> problem I'm running into, do I need to adjust the buffer size?
>
> I appreciate any help.
>
> Some system info:
> Java 1.4.1
> JacORB 1.4.1
> Red Hat 7.2 w/ Kernel 2.4.18
> Intel PIII (~800MHz)
> 256MB RAM
>
> Regards,
> Nick
> _______________________________________________
> jacorb-developer maillist -
> jacorb-developer@lists.spline.inf.fu-berlin.de
> http://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic