What is --printMemoryUsage detailling about?

I will try to remember that. I can add that in the next Hugo version (which I admit I have said a few times before now, but now I mean it) you can set a upper memory limit (we will try to set a sensible default based on how much ram there is on your PC) and Hugo will try to keep its memory usage below that limit (by releasing stuff we don’t need anymore to Go’s GC). This is obviously great for big sites, but also for large short lived content (e.g. big JSON files).

1 Like