I trying to run my jamsine specs from command line using PhantomJs.exe. Here is my command line
'path\to\phantomjs\phantomjs.exe run-jasmine.js SpecRunner.html
I'm running this from the folder where my spec runner html file is located. The above command throws following error
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.
I have already looked at http://code.google.com/p/phantomjs/issues/detail?id=365 on phantomjs group but that does not help much for someone like me who comes from a .net background.
So far I have found out that version 1.3.0 of PhantomJs works fine for me.