On Tue, Jun 9, 2009 at 8:15 AM, Sunith <sunith.ba...@barclays.com> wrote:

>
> Hi
>
> Thanks David
> I managed to fix the problem.
> In AIX, the default no:of memory segments per process is 1.
> 1 segment can have 256MB memory. This implies that this process can used
> only 256MB memory even if the ulimit -m is set to unlimited.
>
> we have an option changing this no:of segments value by using
> export LDR_CNTRL=MAXDATA=0x80000000
>
> Here 8 means 8x256MB = 2GB
> Set this value and ran the Xalan. It worked like charm.


Another option is to pass the maxdata flag to the linker, making it
unnecessary to set the environment variable, like so:
-Wl,-bmaxdata:0x80000000

//Martin

>
>
> Sunith
>
>
> David Bertoni wrote:
> >
> > Sunith wrote:
> >> Hi
> >>
> >> Initially i was getting a "segmentation fault" core dump. that is when i
> >> realized that the ulimit values are low. Then i changed all the ulimit
> >> values to unlimited. AFter that I started getting this "memory core
> dump"
> > You will have to examine the core file with a debugger.  Otherwise,
> > there's nothing anyone can do to help you out.
> >
> > Dave
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Core-when-using-Xalan-1.10-C%2B%2B-tp23870252p23942599.html
> Sent from the Xalan - C - Users mailing list archive at Nabble.com.
>
>

Reply via email to