You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actually in my program there is a SkipMap in tokio RwLock, I spawned two threads do some operations in loop, one thread insert kvs to map, and clear map after every 100 insertions, another thread call range and clone kvs from map, then insert back to map. I observed a continuous memory increase while running the program.
I'm wodering why memory stays stable when I call iter instead of range in the above situation. And should I call crossbeam_epoch::pin().flush() after every operation?
crossbeam-skiplist = "0.1.3"
iter range from skipmap, clone (key, value)s and insert back to skipmap
Code:
Run with address sanitizer:
The text was updated successfully, but these errors were encountered: