[racket] How to reduce my Racket web server's memory usage?

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Mon Feb 2 12:58:45 EST 2015

I think 80MB is pretty typical. If you convert to "#lang web-server",
you should be able to trade RAM for disk space, but I doubt you could
get less than 40MB and 80MB out of 512M is pretty decent.

Jay

On Mon, Feb 2, 2015 at 3:35 AM, fyooo <fyooo at foxmail.com> wrote:
> I just bought a DigitalOcean 5$/month VPS with only 512M memory.
>
> I started 3 different Racket webserver on different port, and using Nginx as
> reverse proxy. But I found that each process uses 80M average. I know that
> it's not a big deal in a machine with 16G memory, but in my VPS I have to
> merge all the webserver code in one rkt file in order to reduce the memory
> usage.‍
>
> ____________________
>   Racket Users list:
>   http://lists.racket-lang.org/users
>



-- 
Jay McCarthy
http://jeapostrophe.github.io

           "Wherefore, be not weary in well-doing,
      for ye are laying the foundation of a great work.
And out of small things proceedeth that which is great."
                          - D&C 64:33


Posted on the users mailing list.