You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 4, 2022. It is now read-only.
If you run this program on a 2G vm nothing interesting happens, but if you remove the commented out lines to use httpcoala and run the program again you'll see something like this:
You'll probably have to ^C it to prevent the vm from crashing.
I think the problem is that httpcoala tries to allocate as many buffers as possible, without imposing any hard limit.
Consider the following program that creates 500 concurrent requests to slightly different URLs:
If you run this program on a 2G vm nothing interesting happens, but if you remove the commented out lines to use
httpcoalaand run the program again you'll see something like this:You'll probably have to
^Cit to prevent the vm from crashing.I think the problem is that
httpcoalatries to allocate as many buffers as possible, without imposing any hard limit.