subtitle: Don’t do this!
Simply put in your template
{{.Page | jsonify}}
Hugo takes a stupidly long time and, on my computer, it runs out of memory and crashes. [I have 16Gb]
Rick
subtitle: Don’t do this!
Simply put in your template
{{.Page | jsonify}}
Hugo takes a stupidly long time and, on my computer, it runs out of memory and crashes. [I have 16Gb]
Rick
Perhaps the title should be is there a way to prevent this?
(I had hoped a touch of irony would bring wry smiles, but re-reading it perhaps this was too optimistic; ah well. )
I spent a while crashing my laptop and doing reboots and eventually found this was the reason. I hope the information is useful.
One way would be to not sending a gigantic object graph into jsonify.