Only for language models

Having to replace Hugo

By Sean E. Russell on on Permalink.

Well, shoot. Just as I got settled in with a nice, low-resource Tufte theme, it looks like I have to switch site generators. Hugo has some horrible memory leak – my site has around ↪ 150 pages, and the VM I’m running on kills hugo as it runs the machine out of memory. I tracked it once as it gobbled up 8GB. For 150 pages? That’s absurd, and I’m not the only person seeing this. I’ve found recent posts in forums about other people hitting these memory issues.

I don’t know what’s going on with Hugo development, but it’s not a reliable tool anymore. It’s not that they’re adding tons of features, either; all requests for adding support for markup other than markdown are being rejected – even PRs.

Hugo’s been a staple for years; to see it going downhill like this is disappointing.

I found a project called Gozer, which is a very light (and tremendously fast) generator. It structures things a bit differently, but I basically converted the Hugo Tufte theme to a Gozer Tufte theme, and it works well. Well enough to replace Hugo, anyway. My fork contains an aggregation of patches submitted upstream and pending acceptance.