web3infra-foundation / mega

Mega is an unofficial open source implementation of Google Piper.
https://gitmega.dev
Apache License 2.0
168 stars 31 forks source link

Bug Report Memory Leak #595

Open xizheyin opened 1 month ago

xizheyin commented 1 month ago

Mega occupies more than 30GB memory, which may be memory leak.

4bed13ef7d042d70e02d573fceeff2e 424f91344ad8f00b741f17042a3b424
Hou-Xiaoxuan commented 1 month ago

Could you please provide more details on the steps to reproduce it? @xizheyin

Did the issue occur while pushing the repository to Mega, or while pulling from it? Or did it happen without any operation, with the memory usage continuously increasing?

genedna commented 1 month ago

@Hou-Xiaoxuan ,

I'm also experiencing the same issue. I downloaded all crates from crates.io, extracted them, initialized the extracted directory as a git repository, and then pushed it to the mega service. However, I noticed that Mega's memory usage did not decrease.

You can use the script in the crates-sync to test.