Anton/Aaron,

%alloc() is limited to the Default Heap associated with an Activation
Group. However, you can create and manage your own heaps using the ILE
Bindable Storage Management API's. See the following link:

http://publib.boulder.ibm.com/iseries/v5r2/ic2924/info/apis/ile8a1TOC.ht
m

For an explanation of how heaps are used in ILE, consult chapter 8 in
the ILE Concepts Guide:

http://publib.boulder.ibm.com/iseries/v5r2/ic2924/books/c4156066.pdf


Regards,

John Taylor

> -----Original Message-----
> From: Behalf Of Anton Gombkötö

> 
> Hi Aaron,
> 
> as coincidences occur, we had just today to play around with 
> a program ALLOCating storage and found out that we weren't 
> able to ALLOCate more than 8MB in this situation (although 
> according to the manual, we should be able to allocate 16MB - 
> 512 bytes). Maybe that has to do with the amount of variables 
> already defined, or something like that. There might be 
> programs that are able to allocate more, there might be ones 
> that can't allocate even that. I don't know.
> 



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.