Skip to content
This repository has been archived by the owner on Apr 24, 2022. It is now read-only.

always report libuv error: not enough memory on File: server.c Line: 150 on Windows 7 x64 #18

Open
missdeer opened this issue Feb 24, 2013 · 1 comment

Comments

@missdeer
Copy link

I built shadowsocks-libuv by MinGW32 toolchain with some small fix in Makefile:
LIBUVFLAGS = "OS=mingw"
CFLAGS += -D_WIN32_WINNT=0x0600 -I"f:/openssl-0.9.8k_WIN32/include"
LDFLAGS += f:/openssl-0.9.8k_WIN32/lib/ssleay32.lib f:/openssl-0.9.8k_WIN32/lib/libeay32.lib -lws2_32 -lmswsock -lkernel32 -luser32 -lgdi32 -lpsapi -liphlpapi -lmsvcr110

Building is successful, but report error when running, never succeed:
F:\Shareware\shadowsocks-libuv>server
�[01;32m INFO: �[0mShadowsocks server Version:0.2 libuv(0.9) Written by Dndx(id
ndx.com)
�[01;32m INFO: �[0mUsing shadowcrypt crypto
�[01;32m INFO: �[0mCrypto ready
�[01;32m INFO: �[0mListening on 0.0.0.0:8888
�[01;32m INFO: �[0mAccepted connection from 127.0.0.1
�[01;32m INFO: �[0mDomain is: www.google.com
�[01;32m INFO: �[0mConnected to 203.208.46.200
�[01;35m ERROR: �[0mlibuv error: not enough memory on File: server.c Line: 150
�[01;32m INFO: �[0mAccepted connection from 127.0.0.1
�[01;32m INFO: �[0mDomain is: www.google.com
�[01;32m INFO: �[0mConnected to 203.208.46.200
�[01;35m ERROR: �[0mlibuv error: not enough memory on File: server.c Line: 150
…………

@dndx
Copy link
Owner

dndx commented Mar 5, 2013

Sorry about that, but I don't have windows environment. Also I'm not sure whether libuv can run without problem under mingw, Please check https://github.com/joyent/libuv and follow the instructions to compile libuv.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants