Tomasz Mielech, Author at ArangoDB https://arangodb.com/author/tomasz-mielech/ The database for graph and beyond Wed, 26 Jun 2024 07:52:45 +0000 en-US hourly 1 https://wordpress.org/?v=6.7.1 https://arangodb.com/wp-content/uploads/2023/08/cropped-favicon-32x32.png Tomasz Mielech, Author at ArangoDB https://arangodb.com/author/tomasz-mielech/ 32 32 Fixing a Memory Leak in Go: Understanding time.After https://arangodb.com/2020/09/a-story-of-a-memory-leak-in-go-how-to-properly-use-time-after/ https://arangodb.com/2020/09/a-story-of-a-memory-leak-in-go-how-to-properly-use-time-after/#comments Mon, 14 Sep 2020 08:34:00 +0000 https://arangodb.com/?p=35186 Recently, we decided to investigate why our application ARANGOSYNC for synchronizing two ArangoDB clusters across data centers used up a lot of memory – around 2GB in certain cases. The environment contained ~1500 shards with 5000 GOroutines. Thanks to tools like pprof (to profile CPU and memory usage) it was very easy to identify the issue.…

The post Fixing a Memory Leak in Go: Understanding time.After appeared first on ArangoDB.

]]>
https://arangodb.com/2020/09/a-story-of-a-memory-leak-in-go-how-to-properly-use-time-after/feed/ 2