View Single Post
hh2
AlliedModders Donor
Join Date: Sep 2010
Old 08-28-2018 , 13:40   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #649

Quote:
Originally Posted by ESK0 View Post
Actually its not a memory leak.. the ArrayList is used later If you will delete the ArrayList.. it wont work anymore
It is: dump handles, change map, dump again and u will see that your created ArrayList is still there and they are not used again, because u created new ArrayList.
After some time (like 1-2 days after server start) my server consume approx. 200 MB more memory and there is A LOT of ServerAdvertisements handles with the same size.
U should delete existing handles on MapStart, if u want i can give you my code that fix that.

Last edited by hh2; 08-28-2018 at 14:27.
hh2 is offline