Janet, I assume this is a C application by the long and lower-case function names you mentioned. Have you run it with the LE RPTSTG option turned on? Maybe your HEAP parameters cause LE to request that 1M storage as a secondary heap chunk because the "gsk_*" routines need some heap storage, and I do not believe that heap chunks are freed until termination of the enclave, even if there are no current storage allocations in the chunk(s). RPTSTG output may help you tune the initial heap size so that secondary chunks are not needed.
Just a thought. Peter -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Janet Graff Sent: Tuesday, February 02, 2016 5:24 PM To: [email protected] Subject: memory leak doing gsk_environment_open() I have a long running STC that does an HTTP sequence using secure sockets. I can monitor the memory usage throughout my calls. I note that my above the line storage shows a 1M increase after the gsk_environement_open(). That memory is not freed after the gsk_environment_shutdown(), gsk_environment_close() or any of the other APIs that close the socket. Has anyone else noticed this? Janet ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
