There was an error while loading. Please reload this page.
1 parent c0693ea commit ccd29f6Copy full SHA for ccd29f6
1 file changed
deploy/pursuit.service
@@ -4,11 +4,11 @@ Description=Web service for hosting of PureScript API documentation
4
[Service]
5
Type=simple
6
User=www-data
7
-# The server has 2 vCPUs, 4GB of RAM and 4GB of swap. The heap limit needs to
+# The server has 2 vCPUs, 2GB of RAM and 4GB of swap. The heap limit needs to
8
# leave room for nginx and the rest of the system; spikes above physical RAM
9
# are absorbed by swap, and the RTS runs out of heap before the kernel's OOM
10
# killer would step in.
11
-ExecStart=/usr/local/bin/pursuit +RTS -N2 -A64m -M3400m -RTS
+ExecStart=/usr/local/bin/pursuit +RTS -N2 -A32m -M1700m -RTS
12
Restart=always
13
RestartSec=5s
14
Environment="PURSUIT_APPROOT=https://pursuit.purescript.org"
0 commit comments