Operating System - HP-UX
1834156 Members
2547 Online
110064 Solutions
New Discussion

Re: RE:RE: memory allocation error

 
Ivan_8
Occasional Contributor

RE:RE: memory allocation error

Clay and Patrik replied on my previous message concerning maxdsize. They pointed out that this parameter is set in bytes. However, when I use command "sysdef" on my HP_UX it has a column called UNITS. I can see that the maxdsize is expressed in pages rather than bytes. In addition, when I type "ulimit -a", I get the info: "data(kbytes) unlimited". As far as I understood this message tells that the maxdsize is set to the maximum value allowed.

2 REPLIES 2
harry d brown jr
Honored Contributor

Re: RE:RE: memory allocation error

maxdsize is in bytes, and the value (data) from ulimit -a is 1024 * maxdsize.
Live Free or Die
harry d brown jr
Honored Contributor

Re: RE:RE: memory allocation error

maxdsiz for 32-bit processes:

Minimum: 0x400000 (4 Mbytes)
Maximum: 0x7B03A000 (approx 2 Gbytes)
Default: 0x4000000 (64 Mbytes)

maxdsiz_64bit for 64-bit processes:

Minimum: 0x400000 (4 Mbytes)
Maximum: 4396972769279
Default: 0x4000000 (64 Mbytes)
Live Free or Die