Paul Pluzhnikov wrote:
> "pankajtakawale" <pankaj.takawale@gmail.com> writes:
>
> > Here is the snippet of truss output
> ...
> > sbrk(0x00000060) Err#12 ENOMEM
> >
> > Do i need to increase swap space or thread stack size?
>
> Increasing swap might help, but I would not expect it.
> You are running out of *heap* space. Check your limits, e.g. 'ulimit
> -a' in *sh or 'limit' in *csh.
>
Yes process was running out of heap space. In my local environment I
decreased soft limit of data segment and ran app. truss showed 'sbrk
faild with ENOMEM'. Now Im planning to run app in very heavy
configuration such that 'unlimited data segment' too will be
insufficient. And on same configuration I will make app large addr
space model by setting env variable LDR_CNTRL (app shud run in large
addr space model). And will update thread with results.
Thanks for your valuable help Paul.
> Also, if your program legitimately needs more then 256M of heap,
> read this:
> http://publib16.boulder.ibm.com/pser...rg_support.htm
>
> Cheers,
> --
> In order to understand recursion you must first understand recursion.
> Remove /-nsp/ for email.