I have the following map structure used in the code:
globalIndexMap := make(map[string][]byte)
Which is updated every time a new entry committed to the instance of LevelDB. I need to measure the memory size of globalIndexMap. How to do it?
I have the following map structure used in the code:
globalIndexMap := make(map[string][]byte)
Which is updated every time a new entry committed to the instance of LevelDB. I need to measure the memory size of globalIndexMap. How to do it?