|
>> Right that's what I meant when the job ends. I believe that it will be when the Activation Group ends since the AG "owns" the memory. If the program runs in the default AG then it will not get cleaned up until the end of the job. If you run in a named AG, then you can reclaim the AG and free up the memory on detecting a terminal error in a program that is using dynamic memory. This is perhaps a situation where judicious use of the MONITOR op-code (or even a PSSR) should be used to allow the program to clean up any memory it owns as part of writing its last-will-and-testament. Jon Paris Partner400
As an Amazon Associate we earn from qualifying purchases.
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.