OK, I ran some tests.

The bad news is yes, in my environment, GSK seems to leak storage -- that is, 
it allocates storage that it does not free. The good news is that (1) it seems 
to be "one time," not per session; and (2) the storage is modest: eight 
allocations totaling 0x510 bytes.

I see an increase in HEAP (the heap specifically named HEAP) with GSK as 
opposed to plain old TCP, but it is not dramatic -- nowhere near a megabyte -- 
somewhere around 100K.

HTH

Charles

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Charles Mills
Sent: Tuesday, February 02, 2016 4:44 PM
To: [email protected]
Subject: Re: memory leak doing gsk_environment_open()


    
I use the gsk functions from C++ with no (known!) issues. I will look at the 
code when I get back to the office Thursday. 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to