Memory Leak Tips?
I need tips on clearing the memory with AMXX and making sure stuff doesn't have any memory leaks, its becoming a problem with some of my plugins :(
|
You can't HAVE a memory leak; nothing is allocated on the heap. The only thing you CAN have, is lots and lots of unused, but still allocated, memory, from big arrays and such.
|
if you use recursion you can create memory overflow problems but as twilight said a plugin can't really leak memory.
|
Leak memory into HLDS, yeah it can.. i've seen it in plugins before
*cough* harbus Tsrp plugins Well, big arrays, true :\ |
That isn't the plugin; it is a plugin abusing a module.
|
Harbu half-assed his plugins anyway :\
thankyou though. |
Can someone take a look at the results of the tests I did about memory usage? Look here.
|
| All times are GMT -4. The time now is 05:07. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.