Manuscript (Case [Issue]21382) Zinc - https leaks memory in Ubuntu 64bit / Pharo 6.1 64bit

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Manuscript (Case [Issue]21382) Zinc - https leaks memory in Ubuntu 64bit / Pharo 6.1 64bit

Pharo Issue Tracker
Manuscript Notification
avatar
Herby Vojčík revised a previous entry on Case 21382: https leaks memory in Ubuntu 64bit / Pharo 6.1 64bit:
Bug in Project:  Zinc: 1. Pharo Image  •  You are subscribed to this case
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 Priority: 5 – Fix If Time Status Status: Work Needed
Assigned To Assigned to: Everyone Milestone Milestone: Later

Go to Case
No longer need updates? Unsubscribe from this case.

Don't want Manuscript notifications anymore? Update your preferences.

Manuscript

_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
https://lists.gforge.inria.fr/mailman/listinfo/pharo-bugtracker