|
Here is one way to look at resource consumption for this issue:
<code> { ZdcSecureSocketStream allInstances. ZdcPluginSSLSession allInstances }. </code>
Now, if I run either <code> [ 100 timesRepeat: [ ZnClient new systemPolicy; beOneShot; get: 'https://pharo.org' ] ] timeToRun. </code> or even (not closing properly) <code> [ 100 timesRepeat: [ ZnClient new systemPolicy; get: 'https://pharo.org' ] ] timeToRun. </code> This code does make 100 new HTTPS connections. All of the above instances counts are zero afterwards. I am on macOS and Pharo 7.
How does that work for you ? Can you rewrite it so that it shows the leak (inside the image) ?
|
|
|
Priority: 3 – Must Fix
|
|
Status: Work Needed
|
|
Assigned to: Everyone
|
|
Milestone: Later
|
Go to Case
|
|