Thanks to everybody for the feedback. As I said before, the problem is that using PLI verbs program sometimes runs out of memory. At every FREE I flag the block with a timestamp and, at dump time, lots of blocks logically freed are physically in the dump. So, in theory I've free blocks to reuse (as you said PLI use heap or similar to alloc bigger blocks to use at purpose) but I run out of memory.
I've to be very sure of my finding. Best regards. Max Il giorno ven 3 mar 2023 alle ore 23:36 Seymour J Metz <sme...@gmu.edu> ha scritto: > We are in violent agreement. > > ________________________________________ > From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf > of Steve Smith <sasd...@gmail.com> > Sent: Friday, March 3, 2023 4:45 PM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: Virtual Storage Manager - LDA. > > If you'd stick to the heap, which is much more efficient, you can request > storage usage reports with quite a bit of detail. > > sas > > On Fri, Mar 3, 2023 at 2:37 PM Seymour J Metz <sme...@gmu.edu> wrote: > > > I doubt that you will get what you need that way. PL/I subaloocates > > storage withing big blocks, and doing your own GETMAIN/STORAGE instead of > > using native PL/I support may make matters worse. > > > > MVS also suballocates storage, and I know of no GUPI to run the chains > > with proper serialization and give the free/allocated counts. > > > > > > -- > > Shmuel (Seymour J.) Metz > > http://mason.gmu.edu/~smetz3 > > > > ________________________________________ > > From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf > > of Massimo Biancucci [mad4...@gmail.com] > > Sent: Friday, March 3, 2023 2:43 PM > > To: IBM-MAIN@LISTSERV.UA.EDU > > Subject: Virtual Storage Manager - LDA. > > > > Hi everybody, > > > > I've a PLI program who does ALLOCATE and FREE of some based areas in > order > > to build and manage a dynamic tree. > > > > I'm debugging a problem where it runs out of memory. > > To control how much memory it's using I refer to LDA. > > To be sure I changed the ALLOC and FREE with explicit (via a ASM module) > to > > STORAGE OBTAIN and RELEASE. > > > > Here is the question: > > I display the LDA structure before and after freeing some areas (few KB, > > anyway more than zero) and I see no immediate difference. > > Is the information in LDA updated by VSM with any delay ? > > > > Thanks a lot in advance. > > Max > > > > ---------------------------------------------------------------------- > > For IBM-MAIN subscribe / signoff / archive access instructions, > > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > > > > ---------------------------------------------------------------------- > > For IBM-MAIN subscribe / signoff / archive access instructions, > > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > > > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN