-
Notifications
You must be signed in to change notification settings - Fork 212
Increase memory limit for kube-custom-resources-rs #2300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
while we can and do increase the memory limit on request, due to the current build-server setup our current max is around 12 GB per build. We are working on this but progress is slow. From what I remember we set a CPU limit of 6 cores for the docker container, so So in the short team I'm happy to increase your limit to 12 GB, if you can make that work. |
hey thanks for the quick response! I could not generate docs with less memory so far, however I completely get that the requested amount of memory is super high. So I'm thinking about adding a small docs comment to the root of my crate that points to the documentation that I generate/host elsewhere. This would not require any additional hardware on your end and still provide people with some info on docs.rs without #93 to be solved. WDYT? |
btw, depending on how many features a user of the library would use the memory usage this high would also be an issue for many developer or CI systems. |
yeah I'm painfully aware 🥲 however I'm expecting that only a small number of features will be used in downstream projects. I just need to enable all features to verify that all of them work and the entire documentation is generated. My current work around for documentation is to generate it myself with some custom tooling. It certainly isn't perfect but works well on very old hardware.. So thanks again for the fast response & helpful comments! |
Crate name
kube-custom-resources-rs
Build failure link
https://docs.rs/crate/kube-custom-resources-rs/2023.11.5/builds/960062
Requested RAM limit
32 GB
Requested timeout
No response
Requested number of targets
No response
Why your crate needs the resource increases
The crate is quite big and uses lots of kube-rs macros on all of its structs. Generating the docs locally takes around 30 GB on my machine with
--jobs 1
.If increasing the memory limit is not possible, is there some way for me to provide/upload the docs manually?
The text was updated successfully, but these errors were encountered: