Skip to content

Cargo run not working #758

Closed Answered by Narayanbhat166
AkshatShukla10 asked this question in Q&A
Discussion options

You must be logged in to vote

Seems like Out of memory issue as evident by the SIGKILL and this post rust-lang/rust#100164. Can you check the memory limits for wsl and try increasing it and retry? To increase the memory limit in your .wslconfig add this configuration

[wsl2]
memory=2GB

https://fizzylogic.nl/2023/01/05/how-to-configure-memory-limits-in-wsl2
Also close any other open windows which are currently not being used if it fails again

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@AkshatShukla10
Comment options

Comment options

You must be logged in to vote
1 reply
@cb-sudheer
Comment options

Answer selected by manojradhakrishnan
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants