kube: k8s-openapi memory consumption blocks CI

Did a full cargo test --all-features after having bumped the k8s-openapi dependency and memory use is almost 8GB with parallelism. Looks like it takes >4GB just compiling the dependency itself. This blocks CircleCI from building it (on the free account), and travis just seems to time out. Need a better CI solution…

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 1
  • Comments: 16 (9 by maintainers)

Commits related to this issue

Most upvoted comments

Try k8s-openapi = { git = "https://github.com/Arnavion/k8s-openapi", branch = "feature-api", default-features = false }. I see the RSS max out at ~1.4 GiB when building k8s-openapi-tests. If it works for you I’ll see about releasing it as v0.5.1