Ask a Question related to AIX, Design and Development.
-
Rosaline Fan #1
LDR_CNTRL='MAXDATA=0xD0000000@DSA'
Hello,
# oslevel
5.2.0.0
# export LDR_CNTRL='MAXDATA=0xD0000000@DSA'
# ./fantest
malloc() with 7 * 256 MB ok!
malloc() with 8 x 256 MB failed!
malloc() with 9 x 256 MB failed!
malloc() with A x 256 MB failed!
malloc() with B x 256 MB failed!
malloc() with C x 256 MB failed!
malloc() with D x 256 MB failed!
Can someone tell me why I fail to apply more 8 segments dynamic memory
space?
TIA
Rosaline
Rosaline Fan Guest
-
Dave Seaman #2
Re: LDR_CNTRL='MAXDATA=0xD0000000@DSA'
On Thu, 11 Sep 2003 03:41:33 GMT, Rosaline Fan wrote:
> Hello,> # oslevel
> 5.2.0.0
> # export LDR_CNTRL='MAXDATA=0xD0000000@DSA'
> # ./fantest
> malloc() with 7 * 256 MB ok!
> malloc() with 8 x 256 MB failed!
> malloc() with 9 x 256 MB failed!
> malloc() with A x 256 MB failed!
> malloc() with B x 256 MB failed!
> malloc() with C x 256 MB failed!
> malloc() with D x 256 MB failed!Because 8 segments is the maximum allowed with the 32-bit address model.> Can someone tell me why I fail to apply more 8 segments dynamic memory
> space?
> TIA
> Rosaline
<http://publib16.boulder.ibm.com/pseries/en_US/aixprggd/genprogc/lrg_prg_support.htm>
--
Dave Seaman
Judge Yohn's mistakes revealed in Mumia Abu-Jamal ruling.
<http://www.commoncouragepress.com/index.cfm?action=book&bookid=228>
Dave Seaman Guest
-
Rosaline Fan #3
Re: LDR_CNTRL='MAXDATA=0xD0000000@DSA'
Dave Seaman wrote:
Thanks!> On Thu, 11 Sep 2003 03:41:33 GMT, Rosaline Fan wrote:>> > Hello,>> > # oslevel
> > 5.2.0.0
> > # export LDR_CNTRL='MAXDATA=0xD0000000@DSA'
> > # ./fantest
> > malloc() with 7 * 256 MB ok!
> > malloc() with 8 x 256 MB failed!
> > malloc() with 9 x 256 MB failed!
> > malloc() with A x 256 MB failed!
> > malloc() with B x 256 MB failed!
> > malloc() with C x 256 MB failed!
> > malloc() with D x 256 MB failed!>> > Can someone tell me why I fail to apply more 8 segments dynamic memory
> > space?
> > TIA
> > Rosaline
> Because 8 segments is the maximum allowed with the 32-bit address model.
> <http://publib16.boulder.ibm.com/pseries/en_US/aixprggd/genprogc/lrg_prg_support.htm>
32-bit process can use up to 13segments or3.25G. My application failed is because of
malloc().
Regards,
Rosaline Fan
>
>
> --
> Dave Seaman
> Judge Yohn's mistakes revealed in Mumia Abu-Jamal ruling.
> <http://www.commoncouragepress.com/index.cfm?action=book&bookid=228>Rosaline Fan Guest



Reply With Quote

