rango icon indicating copy to clipboard operation
rango copied to clipboard

Isn't it a memory leak?

Open nikandfor opened this issue 5 years ago • 1 comments

Am I missing something or these increments are all saved and never freed?

https://github.com/openware/rango/blob/3debfdced6ca2bfd26a22940d06575622f44b411/pkg/routing/hub.go#L191

nikandfor avatar Dec 07 '20 15:12 nikandfor

hello @nikandfor, increments are saved until a new snapshot is received, then old increments can be marked as garbage. https://github.com/openware/rango/blob/3debfdced6ca2bfd26a22940d06575622f44b411/pkg/routing/hub.go#L173

dnfd avatar Dec 10 '20 14:12 dnfd