Musicoin / go-musicoin

:link: Go-version of Musicoin blockchain wallet and consensus
GNU Lesser General Public License v3.0
161 stars 57 forks source link

GMC v.2.6.2 memory leak #90

Closed cryptofuture closed 6 years ago

cryptofuture commented 6 years ago

Starting gmc with /usr/bin/gmc --rpc --rpcapi="admin,db,eth,net,web3,personal" --rpcport "8545" --rpcaddr "127.0.0.1" --cache=512 --rpccorsdomain "localhost" After approximately 30 minutes process leaks and eats 1.5Gb of real memory (thats 20% of all my memory). On the start and first 10 minutes it not goes over 340Mb. I tested with empty blockchain. @5chdn gmc_in_container

5chdn commented 6 years ago

Can you check out legacy branch from Github and see if this changes?

cryptofuture commented 6 years ago

One from legacy branch takes ~1430Mb minutes with same launch params. It starts with around 240Mb. For the note: both was complied with go-1.9 and x64 bit versions.

cryptofuture commented 6 years ago

Closing seems old pre fork gmc 2.5.1 eats same 1.5Gb after a while.