-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
We have some reports that iroh-gossip consumes increasing amount of memory over time.
I pushed a branch for investigation https://github.com/n0-computer/iroh-gossip/tree/Frando/mem-usage
It has a memory-peak example
Build with cargo build --example memory-peak --release
And then run heaptrack ./target/release/examples/memory-peak to profile the memory usage.
Results so far are inconclusive: Heaptrack indicates increasing use over time, with only the caches being hot on allocations (as expected), however the debug logs in that branch above show that the size of these cache hashmaps settles.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
No status