How to generate direct page on disk, without using too much memory

Hello, I have done some tests with a lot of posts and hugo can not process everything, it only grows memory usage until it starts to lock everything, is there a way for me to free memory from time to time? Or write the generated pages directly to disk, instead of loading everything into memory for later writing to disk?

If I want to create a giant site with 10 million pages, can you do that with hugo?

Thanks.

As far as I know, Hugo can’t handle a low-memory scenario.

1 Like