I'd be interested to know if you're using any sockets in your scripts. The 'No buffer space' errors are almost certainly coming from Winsock.