python - Why are nose tests leaving orphaned PhantomJS processes on Windows 8? -


i have python selenium nose tests running on windows 8 phantomjs. installed chutzpah (phantomjs) via chocolatey.

when run nose tests, "shimgen" process appears , lots of "phantomjs headless webkit javascript api (32 bit)" processes appear , use 50+mb of memory , never close. causes lot of stuck phantomjs processes in memory.

this brings down server.

in c:\programdata\chocolatey\bin directory phantomjs.exe executable. renaming phantomjs.exe.bak , adding c:\programdata\chocolatey\lib\chutzpah windows path instead solved problem.

it appears exe shim phantomjs executable in bin folder. when terminate called, don't think handled shim. got idea try url: choco issue: shims should terminate underlying process waiting on when receive termination signal

in case wondering, how edit windows path:

start >> right click computer >> properties >> advanced tab >> environment variables: in system variables pane select path , click edit


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -