Fixed a typo

This commit is contained in:
Douglas Mariano Valero 2019-09-01 13:16:04 -03:00 committed by GitHub
parent c4d1987ebc
commit e3cec3b488
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -147,7 +147,7 @@ countUser(john);
john = null;
```
Now `john` object should be garbage collected, but remains is memory, as it's a key in `visitsCountMap`.
Now `john` object should be garbage collected, but remains in memory, as it's a key in `visitsCountMap`.
We need to clean `visitsCountMap` when we remove users, otherwise it will grow in memory indefinitely. Such cleaning can become a tedious task in complex architectures.