• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

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