http://www.perlmonks.org?node_id=1002861


in reply to Race condition in Dancer

Ah, classic rookie mistakes :) smell so good :)

Here is a tip , development.yml contains

# auto_reload is a development and experimental feature # you should enable it by yourself if you want it # Module::Refresh is needed # # Be aware it's unstable and may cause a memory leak. # DO NOT EVER USE THIS FEATURE IN PRODUCTION # OR TINY KITTENS SHALL DIE WITH LOTS OF SUFFERING

If you saw that and said to yourself : I know how to fix it, I'll use Shotgun!

Don't! At least on win32 mingw perl v5.14.1, it works nicely to eat all memory :)

OTOH auto_reload: 1 does require manual restart after 3-6 edits , irritating :)