Skip to content
Discussion options

You must be logged in to vote

@steeley The way to check for memory leaks is first to issue gc.collect() then to check free RAM, the aim being to detect permanently allocated RAM.

What you are measuring is the normal process whereby blocks of memory are allocated. Subsequently all references to the block of RAM go out of scope. The RAM is still seen as being used until a GC is performed, when the lack of references is detected and the block is reclaimed.

As a general point I have used uasyncio extensively in long running applications and have never detected a leak.

Replies: 4 comments 1 reply

Comment options

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
0 replies
Comment options

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

Answer selected by steeley
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants