vitelabs/go-vite

Memory leaks while downloading blockchain on Windows 11.

SkybuckFlying opened this issue · 1 comments

While running gvite-v2.13.0-windows on windows 11, it seems to leak memory at these two blockchain heights:

1st height: 14639409
2st height: 16493800

1st case: I saw memory go up to 127 GB out of 128 GB available ram and even wear/tearing the pagefile.sys/ssd.
2st case: I saw memory go up to 83 GB out of 128 GB (this time pagefile.sys disabled out of caution).

In both cases the downloading stalled/halted, no more activity, except high memory usage.

In 2st case I closed it probably before it would reach 127 GB out of 128 GB of RAM.

(
Notes:

  1. Restarting the application will make it continue, this is not a good solution, user must first detect the hang and restart, kinda hard to do when user is sleeping at night ! =D)

  2. The documentation has broken link to blockchain file, it's no longer available
    )

Additional memory leaks:

third memory leak/stall at:
[Snapshot Stats] Height:20406600, Hash:ac0b21e77caf9fe7936780cd001c716ba0ff9eec1945988350272352571ff3e7, Timestamp:2020-01-19 14:47:57 +0100 CET, Producer:vite_9b33ce9fc70f14407db75cfa8453680f364e6674c7cc1fb785, Time:2024-04-01 11:37:52.1550805 +0200 CEST m=+14095.989177501

fourth memory leak/stall at:
[Snapshot Stats] Height:28478600, Hash:f9b630cc45525b8d6913935e8b085d879f6dbe76edbb20de4040dc1d660e2ce6, Timestamp:2020-04-23 19:09:39 +0200 CEST, Producer:vite_5e9ba7ab0a8144717de75bb93b32322bef00a3b42ff35efca2, Time:2024-04-01 20:21:45.4308763 +0200 CEST m=+25177.096798501