Can you add a swapfile?  That could rule out low RAM as the problem, even 
if it's very inefficient.

Aside: 127MB does sound like a very large binary, compared to what the 
standard go toolchain produces.   The official hugo amd64 binary is about 
44MB:

$ tar -tvzf hugo_0.82.0_Linux-64bit.tar.gz
-rw-r--r--  0 root   root    11357 21 Mar 17:17 LICENSE
-rw-r--r--  0 root   root    12345 21 Mar 17:17 README.md
-rwxr-xr-x  0 root   root 44568576 21 Mar 17:51 hugo

And k3s (a complete kubernetes distribution) is around 55MB.

Given the limited target system, maybe tinygo is worth playing with - 
although I have no idea whether hugo will work with the subset of language 
features it provides.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/475a30e7-8404-4af4-8ae2-3aff0dcc6a0en%40googlegroups.com.

Reply via email to