Re: TSO/REXX Does Not FREE Storage?



On Wed, 30 Jan 2008 22:50:08 -0600, Joe Denison <joe@xxxxxxxxxxxxxx> wrote:

I'm having an issue with REXX EXECs (interpreted, not compiled) that seem to
*not* free storage after they terminate. Is this a known issue? Has anyone
else experienced this?

(my apologies for the long post -- but wanted to provide some details to
reduce some questions that may be asked)

A simple example to demonstrate the issue:

/* REXX EXEC */
DO i=1 to 100000
bb.i=COPIES("P",1000)
END
EXIT

While running this, the "used" storage increases as each of the stem variables
gets populated with a string of 1000 "P" characters. But when the REXX
program terminates, the storage (GETMAIN'd) during this process does not get
freed.

Can you provide more details of how you're running that exec? If run via
the exec command then the normal task termination should clean up all the
storage.

--
Walt

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
.



Relevant Pages

  • Re: Used Sharks
    ... Very sad, but EMC are giving away SAN storage, brand new, double ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)
  • Re: Does a DD-Statement "waste memory" after dealloc?
    ... So is it a reall a memory leak ) or just a high real storage usage? ... I currently try to find a obscure memory leak in one of our applications. ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)
  • RE: OMEGAMON user key common storage use & CPU consumption?
    ... I can only say AFO from Candle/IBM still getmain CSA storage in Key8. ... One recent report to the Windmill Tilting ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)
  • Re: "Media manager" is the future?
    ... Brought on by my dislike of zFS being based on LDS ... Which meant a new storage class & storage group for ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)
  • Re: PL/1 Storage Control Issue
    ... storage control blocks used by PL/1 in managing BASED storage entities? ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)