× 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.



I've found this statement in ILE Concepts Chapter 8 
(http://publib.boulder.ibm.com/iseries/v5r2/ic2924/books/c415606611.htm).
"The maximum size of any single allocation from a heap is limited to 16 
megabytes minus 64K bytes. "

    Alexei Pytel
always speakinhg for myself

----- Forwarded by Alexei Pytel/Rochester/IBM on 07/03/2003 11:13 AM -----


Alexei Pytel
07/03/2003 10:44 AM


        To:     RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>
        cc: 
        From:   Alexei Pytel/Rochester/IBM@xxxxx
        Subject:        Re: CEE0808 error on %alloc


The largest single allocation is 16MB - 1 page, which is 16773120.

    Alexei Pytel
always speaking for myself





"Buck" <buck.calabro@xxxxxxxxxxxx>
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
07/03/2003 10:04 AM
Please respond to RPG programming on the AS400 / iSeries

 
        To:     rpg400-l@xxxxxxxxxxxx
        cc: 
        Subject:        Re: CEE0808 error on %alloc



> i'm getting an error when trying to allocate space
> in a program.it's CEE0808:
> D Buffer          S               *
> D BuffSize        S             10I 0 INZ(16776704)
>
> C                   eval      Buffer=%alloc(BuffSize)

I see the same issue at V5R2.  Perhaps this is a PTF?  It works if you 
grab
16770018 bytes though.  I thought it was related to the amount of storage
already allocated to the program, but adding dome character variables 
didn't
change the limit any.  Nor did allocating several 16770018 byte buffers.
  --buck



_______________________________________________
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.






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.