Albo1125 / FireScript

Allows you to simulate fires and smoke in FiveM.
GNU General Public License v3.0
20 stars 19 forks source link

Memory Leak #7

Open wills-web opened 5 years ago

wills-web commented 5 years ago

A memory leak seems to occur when dismissing fires.

We have found that the fire department contingent of our roleplay community has experienced disconnection, and even memory-protecting system shutdowns.

We performed the following experiment to determine where the leak seems to originate from.

This suggests that for players who are in range of a fire have a dedicated stream of 42MB (a relatively large proportion), which is not dismissed after the fire is extinguished (and stopallfires & stopallsmoke is run). However, this does not effect new players joining.

Let me know what you think and if you need any further diagnostic information.

Fireant456 commented 4 years ago

Probably a looped thread that is opened but never properly closed.