I tried memory profiling using pprof, but the result is unsatisfactory (the result is not matching with benchmark test of the function), suggest me some tool by which i can get memory occupied for each function in golang program, Like example to find memory occupied by local cache.
Have you tried runtime.Lookup()?
Not yet, but do you have any example which is using runtime.Lookup() for calculation of memory for a map.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.