Skip to content
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

コンパイル時に大量にメモリを使用する #25

Closed
techno-tanoC opened this issue Nov 16, 2021 · 1 comment · Fixed by #26
Closed

コンパイル時に大量にメモリを使用する #25

techno-tanoC opened this issue Nov 16, 2021 · 1 comment · Fixed by #26

Comments

@techno-tanoC
Copy link
Owner

コンパイルすると5GB以上のメモリを使用して、マシンがフリーズする。

axumのrouteを増やした時に発生したので、axumが怪しい。

@techno-tanoC
Copy link
Owner Author

axum 0.2系にrouteにパフォーマンス上の問題があったらしい。

tokio-rs/axum#200
tokio-rs/axum#399

axum 0.3系にすることで再現しなくなった。

また1分以上かかっていたコンパイル時間も10秒ほどに短縮した。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant