Skip to content

Free memory after task is complete #2650

Answered by Darksonn
kokil01 asked this question in General
Discussion options

You must be logged in to vote

This is probably not a memory leak in Tokio, but Rust's memory allocator not releasing the memory back to the OS. If I run the loop several times with a sleep in between, the memory remains constant after the first run.

Replies: 4 comments 5 replies

Comment options

You must be logged in to vote
3 replies
@Noah-Kennedy
Comment options

@adityasupugade
Comment options

@Darksonn
Comment options

Answer selected by carllerche
Comment options

jxs
Jul 9, 2020
Collaborator

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@Darksonn
Comment options

@audacioustux
Comment options

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