|
If you keep running the first sample (from cli:
pharo Pharo.image eval "[Smalltalk garbageCollect. ZnClient new timeout:1; get: 'https://pharo.org'; response] valueWithInterval: 2 seconds. 999 days wait" &
) in Ubuntu for a while, you should be able to see (as I do) VIRT and RES column rising steadily. (the RES is important one, it is the unshared physical mem used by process iirc). 100 connections are probably not enough to show the leak, this code just gets more and more over time. Keep it running for an hour and you'll see those numbers going really up.
(sidenote: I applied #beOneShot to the real app; it still leaks, so it must be (also) somewhere else :-( but I think this issue should be fixed for https to work without #beOneShot as well, when I periodically read a json info from the API, why not to have connection left open?)
Thanks, Herby
|
|
|
Priority: 5 – Fix If Time
|
|
Status: Work Needed
|
|
Assigned to: Everyone
|
|
Milestone: Later
|
Go to Case
|
|