AntelopeIO / leap

C++ implementation of the Antelope protocol
Other
116 stars 68 forks source link

When taking a snapshot RAM usage increases significantly on 5.0.0-rc3 WAX #2021

Closed matthewdarwin closed 10 months ago

matthewdarwin commented 10 months ago

When taking a snapshot RAM usage increases significantly on 5.0.0-rc3. Screenshot is from WAX, starting at ~23:10. snapshot is started from producer plugin when the blockchain is up-to-date. Previous snapshots (earlier in the screenshot) were taken while the chain was not up-to-date and we didn't see the same problem.

image

Seems 5.0.0 behaviour is different than earlier versions: https://github.com/AntelopeIO/leap/issues/1128

Note also high CPU usage.

matthewdarwin commented 10 months ago

Going back to nodeos 4.0.x, the problem doesn't happen. (switch happened at 14:00 in below chart)

image

heifner commented 10 months ago

@matthewdarwin can you provide the 5.0 logs for high ram usage indicated in the graph.

matthewdarwin commented 10 months ago

Yes, I will send privately.