Cargo run not working #758
-
After setting up all the dependencies on WSL Ubuntu and setting up database when I execute cargo run it is compiling almost all the libraries but then it cannot compile 'router' at the end. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
Can you please provide some more information as to what made |
Beta Was this translation helpful? Give feedback.
-
Seems like Out of memory issue as evident by the
https://fizzylogic.nl/2023/01/05/how-to-configure-memory-limits-in-wsl2 |
Beta Was this translation helpful? Give feedback.
-
I am proposing a small change in local setup readme, addition of a note to try_local_system.md, that just mentions increasing memory limits in case users face issue in compilation while using WSL2 ? Note: In case you are facing issues compiling on WSL2, try increasing the memory limits by configuring %USERPROFILE%/.wslconfig file Example config: [wsl2] |
Beta Was this translation helpful? Give feedback.
-
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] |
Beta Was this translation helpful? Give feedback.
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 configurationhttps://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