SpringAll icon indicating copy to clipboard operation
SpringAll copied to clipboard

Cannot allocate memory!!

Open voidcode opened this issue 15 years ago • 2 comments

Hello.

I just installed my diaspora pod. I choose to try to run the server as an Amazon EC2 instance. Hardware = (Intel (R) Xeon (R) CPU [email protected] 592MB RAM)

I can run ./script/server

But suddenly I get this error ( Cannot allocate memory - hostname )

sudo ./diaspora/script/server

Using rack adapter Thin web server (v1.2.11 codename Bat-Shit Crazy) Maximum connections set to 1024 Listening on 0.0.0.0:3000, CTRL+C to stop ./script/../lib/diaspora/web_socket.rb:8: warning: already initialized constant REDIS_CONNECTION_SET Websocket server started. rake aborted! Cannot allocate memory - hostname

Tasks: TOP => resque:work (See full trace by running task with --trace)

voidcode avatar Sep 06 '11 19:09 voidcode

well, you have not enough memory ;) 1GB should do it. Another possibility is to run in single process mode but that'll be slow.

jhass avatar Sep 06 '11 19:09 jhass

Thanks!. How many users can I run with 1gb of memory?

voidcode avatar Sep 06 '11 20:09 voidcode