• Subject: Re: Allocating more the 16MB in C
  • From: "Phil Hall" <hallp@xxxxxxxx>
  • Date: Wed, 3 Jan 2001 12:25:01 -0600



> It's scary how often this happens. Wasn't interested when I saw it but a
few
> days after I delete a week's worth of messages I need the information.
> If the details of that
> message could be reposted I would greatly appreciate it.

The question was:
> Its possible (allegedly) to use System heap by setting the
> _HEAP_SIZE macro to _NO_DEFAULT_HEAP.  This should
> then give access to much more memory.

My answer was :

As far as I remember, calloc/malloc/realloc are all limited to approx 16meg.

If you're at V4R4+ you could try the teraspace support (parm TERASPACE on
the CRTCMOD cmd) which bumps up the limit when using these functions, to
huge values.

--phil



+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].