Hi

We are also around dynalloc from C/C++, but
You are saying 17000 pages , but the used storage also high ? (RPTSTG(ON)) So is it a reall a memory leak (HEAPC(ON,0,0,20)) or just a high real storage usage ?
The LE runtime HEAPOOL(ALIGN) can make big differences .



Michael Knigge wrote:

All,


I currently try to find a obscure memory leak in one of our applications. After some days our appl occupies ~17.000 pages of real memory (needs just ~1.500 after startup).

As we track all malloc(), calloc(), realloc() and free() function calls, I can say that there is no obvious memory leak....

Now... after I've looked at the JESYSMSG I've noticed that we've done approx 17.000 DYNALLOCs, everyone with a different DD-Name (we let the z/OS generate a unique one, like "SYS00001", "SYS00002", "SYS00003" and so on)..... to be clear: *NOT* ~17.000 at the same time. mostly only one at the same time...

Of couse, we deallocate them after we've finished using the DD-Name, but I wonder that even after a DEALLOC (with SVC99) there is some space still occupied....

Why? Because of performance? Because of some kind of control block that can only grow but not shrink?


Thanks,
Michael

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



--
Miklos Szigetvari

Development Team
ISIS Information Systems Gmbh tel: (+43) 2236 27551 570 Fax: (+43) 2236 21081 E-mail: [email protected] Info: [email protected] Hotline: +43-2236-27551-111 Visit our Website: http://www.isis-papyrus.com ---------------------------------------------------------------
This e-mail is only intended for the recipient and not legally
binding. Unauthorised use, publication, reproduction or
disclosure of the content of this e-mail is not permitted.
This email has been checked for known viruses, but ISIS accepts
no responsibility for malicious or inappropriate content.
---------------------------------------------------------------
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to