× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: RE: Allocating more the 16MB in C
  • From: "Smith, Graham (EBM)" <Graham_SmithEBM@xxxxxxxxxxx>
  • Date: Wed, 3 Jan 2001 17:37:39 -0000

Steve,

I posted the original question and below is the response I received from
Alexei Pytel (top man in my opinion as this solution worked beautifully)


>> All heap support used to be limited to 16meg maximum allocation.
>> In V4R4 (it could be V4R5 - I am not sure) a new teraspace support was
>> introduced, which can handle much larger allocations.
>> Check compiler documentation in AS/400 information center.
>> 
>> Quote from the book "ILE C for AS/400 Programmer's Guide" - Version 4
>> Document Number SC09-2712-01 Part Number 24L2113 Program Number 5769-CX2:
>> 
>>      2. Objects built with TERASPACE(*YES *TSIFC) will allocate dynamic
>> storage from
>>     teraspace. Teraspace allocation routines do not use the _HEAP_SIZE
>> macro.


    
> ----------
> From:         Steve Moland[SMTP:Steve@Accessp.com]
> Sent:         03 January 2001 16:34
> To:   'MIDRANGE-L@midrange.com'
> Subject:      Allocating more the 16MB in C
> 
> 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.
> 
> Sometime over the holidays someone discussed using an alternate or
> different way to allocate more than 16MB of memory in a C program using a
> (and these are my words)  "Mega" or "Giga" option or feature. If the
> details of that message could be reposted I would greatly appreciate it. 
> 
> Thanks 
> Steve Moland 
> 
> 
**********************************************************************
 This email and any attachments are confidential and solely
 for the use of the intended recipient.  They may contain
 material protected by legal professional or other privilege.
 If you are not the intended recipient or the person responsible
 for delivering to the intended recipient, you are not authorised
 to and must not disclose, copy, distribute or retain this email
 or its attachments.  Although this email and its attachments
 are believed to be free of any virus or other defect, it is the
 responsibility of the recipient to ensure that they are virus free
 and no responsibility is accepted by the company for any
 loss or damage arising from receipt or use thereof.

**********************************************************************
+---
| 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
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2024 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].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.