[omniORB] omniORB 2.71 and Stack Size ??

Rosimildo DaSilva rdasilva@connecttel.com
Tue, 13 Apr 1999 19:19:53 -0500


From: David Riddoch <djr@uk.research.att.com>
To: Rosimildo DaSilva <rdasilva@connecttel.com>
Cc: omniorb-list@uk.research.att.com <omniorb-list@uk.research.att.com>
Date: Tuesday, April 13, 1999 5:10 AM
Subject: Re: [omniORB] omniORB 2.71 and Stack Size ??


>
>Rosimildo,
>
>The stack size required will vary from platform to platform, will depend
>on the data types you are passing in operation invocations, and also
>depend on what you are doing in your operation upcalls. The only datatypes
>which use recursive code for marshalling/unmarshalling are the dynamic
>types (TypeCode and any).  The depth of the recursion will be related to
>the depth of the structure of the type being marshalled.
>
>Other than operation invocations, threads are used for the scavengers. I
>don't believe these need a very large stack.
>
>I suggest you try varying the value of the stack size, and see what works!
>If you are too optimistic though the results will be pretty nasty ...
>


David,

Thanks for the information.

I'll start with 8K size. Ideally, I'd like to work with stacks of  2K to 4K.
It is nice to know that the ORB run-time does not allocate "huge"
local buffers(  on stack ).


Rosimildo.