mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add desc comments for GetUsedMemoryCount (#9129)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>pull/9119/head
parent
d13ae5f336
commit
9b095843e4
|
@ -58,6 +58,7 @@ func GetMemoryCount() uint64 {
|
|||
return stats.Total
|
||||
}
|
||||
|
||||
// GetUsedMemoryCount returns the memory usage in bytes.
|
||||
func GetUsedMemoryCount() uint64 {
|
||||
stats, err := mem.VirtualMemory()
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue