DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

How To Fix A Leaky WEBrick

  • submit to reddit
        If WEBrick is leaking out of control, which it does do all the time, shut it down and restart it. 
Ctrl-c + Up + Enter
WEBrick can slow your computer down to a crawl so it is reccomended that you only use it when it's needed. Otherwise just runs tests, WEBrick's leaks are just another great reason to adapt to test driven development.