I'm new to Mac development, so please forgive me if I'm doing something wrong.
My simple web feed checking script leaks memory like a sieve. This is especially troublesome since I would like to leave it constantly running. I've pared it down to the attached test case. It creates a timer that fires every 3 seconds and uses net/http to retrieve an RSS feed. Commenting out the body of the connect method makes the leak go away.
I'll also attach the output of the leaks(1) program over the first 30 seconds of running my script. It shows that 2364720 bytes were leaked during that time.
Log in to post a comment.