You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#3175 added a note about out of memory errors, but I did not actually expect to encounter any on my Linux machine which has 24 GB RAM.
When I tried building, I very quickly ran out of memory, my system started swapping aggressively, it took me ~10 minutes to drop to a terminal to see that Sphinx spawned 4 processes which in total used about 30 GB RAM. To recover my system I disabled swap so that my OS would kill Sphinx.
There absolutely needs to be a mention of just how much memory is required to build the docs. If the README specifically said you need 64 GB RAM, I probably would have paid attention to the warning since that is more than I have in my system. But as-is, the warning is simply not enough, I do not expect to hit out of memory errors with any program on a machine with 24 GB RAM, and it's not acceptable for someone following build instructions to have their system unresponsive for 10 minutes.
I would submit a PR, but I don't know what the actual requirements are. How much memory do you need to build the docs? It's clearly more than 32 GB. So, 64 GB? Or 128 GB? Or more?
The text was updated successfully, but these errors were encountered:
I'd built yesterday as well, and there were no memory issues, but the complete build took more than an hour on Windows 10 laptop with Core i7-6700HQ and 8 GB RAM. It looks like in your case multithreading was too aggressive and in my case did not happen at all.
Maybe -j auto option is not doing its best and should be always adjusted by user, like we do with scons.
Edit: Though, if each process requires somewhere between 7 and 8 GB RAM, I wouldn't want my builds to be multithreaded at all! This is simply inefficiency on Sphinx's part.
I can build the documentation successfully with 32 GB of RAM, but I guess you need to remove the classes/ folder if you want to build with multiple threads with less RAM.
#3175 added a note about out of memory errors, but I did not actually expect to encounter any on my Linux machine which has 24 GB RAM.
When I tried building, I very quickly ran out of memory, my system started swapping aggressively, it took me ~10 minutes to drop to a terminal to see that Sphinx spawned 4 processes which in total used about 30 GB RAM. To recover my system I disabled swap so that my OS would kill Sphinx.
There absolutely needs to be a mention of just how much memory is required to build the docs. If the README specifically said you need 64 GB RAM, I probably would have paid attention to the warning since that is more than I have in my system. But as-is, the warning is simply not enough, I do not expect to hit out of memory errors with any program on a machine with 24 GB RAM, and it's not acceptable for someone following build instructions to have their system unresponsive for 10 minutes.
I would submit a PR, but I don't know what the actual requirements are. How much memory do you need to build the docs? It's clearly more than 32 GB. So, 64 GB? Or 128 GB? Or more?
The text was updated successfully, but these errors were encountered: