• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

A question about trigger leaks

Status
Not open for further replies.
I recall finding a thread about it, but I can't find it anymore. I am not even sure if it was on hive.. However it said the size of some leak types when it is added to memory like a point was some number in kb.

I'd appreciate it if anyone knows. I want to know what the sizes are of leak types when failed to be cleaned and added to memory.
 
Level 22
Joined
Sep 24, 2005
Messages
4,821
Be more specific, about what kind of trigger leaks? TriggerAction leaks when the trigger it is attached to is removed? Or something else?
 
MapperMalte said:
JASS:
//===========================================================================
// How bad are memory leaks?
//==========================
//  If you don't remove memory leaks, they suck memory:
//
//  Location:  0.361 kb
//  Group:     0.62 kb + 0.040 kb for each unit in the group.
//  Effect:    11.631 kb
//
// Both, locations and groups are used very frequently. So when you don't fix those memory leaks,
// you will experience lag.
Source
Hope that's what you meant.
 
Status
Not open for further replies.
Top