[ANN] New Gemini Server: Space Age
Hannu Hartikainen
hannu.hartikainen+gemini at gmail.com
Fri Jul 10 21:48:45 BST 2020
On Fri, 10 Jul 2020 at 21:38, Gary Johnson <lambdatronic at disroot.org> wrote:
> To control RAM consumption by the JVM, you can set -D-Xmx in Space Age's
> toplevel deps.edn file.
True, but I've had clojure and java apps crash with OOM in production
by giving them too little. In my experience you need to measure the
RAM consumption with maximum expected load, then add a bit for the
unexpected. Of course for a typical Gemini server that *should* be
very little. Yet I'll need to measure to know. :)
> Outside of embedded environments (e.g.,
> Raspberry Pis), I suspect the default of a few hundred MBs of RAM
> shouldn't be too much of a burden for most laptops, desktops, or VMs,
True, for a single server. But my VPS is soon running four Gemini
servers, some web ones and I have plans for more. The way JVM works it
tends to stay at max allocation, so each JVM instance is a burden.
Thankfully VPSes are huge these days. I used to have one with 64MB
RAM...
But yeah, I'll keep your project in mind. Maybe I'll find the
inspiration to hack with it on GraalVM one of these days!
> (hack 'the :planet)
::awesome!
More information about the Gemini
mailing list