I used nethttp library to my small program. My program is simple.
It loops and call nethttp get method at every loop.
But when this program run for a long time, memory was up and up
Here’s my program. What’s the matter??
url = “http://localhost/test.html”
resp = Net::HTTP.get(URI.parse(url))
# do nothing
sleep rand(0.1) # just a wait