View Single Post
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 01-24-2024 , 17:51   Re: Clear() does not free the ArrayList memory in sourcemod?
Reply With Quote #3

Quote:
Originally Posted by LinLinLin View Post
maybe those memory are reserved after create so that it doesn't need create again to hold the new data.
Then I guess programmer has to consider delete instead of Clear() everytime to prevent from high memory usage
__________________

Last edited by HarryPotter; 01-25-2024 at 16:12.
HarryPotter is offline