|
Post by memory leaks on Sept 4, 2005 22:22:04 GMT 1
does any1 here know how to stop memory leaks? i have a baddly lagging map that needs help
|
|
|
Post by glock on Sept 4, 2005 22:24:03 GMT 1
lol messed up, i mean for the NAME OF THE TOPIC to be memory leaks, this isnt in the same format as almost all the other forums of the enitre world
|
|
|
Post by Ghost on Sept 5, 2005 13:31:45 GMT 1
well.....there are two ways.... the 1st one is to reduce number of triggers and 2nd is to convert all thigers into jass
for 2nd u must read some tuotorials etc
|
|
Apple
Moderator
Pirate
Posts: 140
|
Post by Apple on Oct 23, 2005 6:32:28 GMT 1
try using more precision with variables...
|
|
|
Post by qwerty on Oct 23, 2005 10:47:19 GMT 1
using JASS doesn't exactly reduce lag (correct me if i am wrong). but some triggers can be cut down and become more efficient while using JASS.
to reduce lag, you probably need to nullify unused variables and such.
|
|
Sunny_D
Whelp
---Sunny_D---
Posts: 72
|
Post by Sunny_D on Oct 23, 2005 11:06:39 GMT 1
to reduce lag, you probably need to nullify unused variables and such. yea especially if you create units via unit-groups-action.
|
|
|
Post by daelin on Oct 27, 2005 14:22:12 GMT 1
Well, you need to use Custom Script because Blizzard "forgot" to implement the special functions to avoid leaks into GUI. You will need to nullify all variable (set their value to nothing) once you no longer use them, remove all locations (points in GUI) but for that you need a special funtion. Also, groups should be removed once you no longer need them. Some functions which return a location (such as PolarProjection) or group (Pick Up Every Unit Within Range) may leak if they are not removed properly. I suggest you read this tutorial, it will help you a lot: www.wc3campaigns.com/showthread.php?t=55022&page=1&pp=25~Daelin
|
|
Gir
Moderator
For the win!
Posts: 445
|
Post by Gir on Nov 15, 2005 17:12:07 GMT 1
Lol I'v never heard of this problem....
|
|
Apple
Moderator
Pirate
Posts: 140
|
Post by Apple on Nov 17, 2005 4:54:24 GMT 1
then you must be fairly new with triggers
|
|
Gir
Moderator
For the win!
Posts: 445
|
Post by Gir on Nov 19, 2005 8:32:17 GMT 1
yea... some what. I'v been doing More advanced triggs now, I used to do only crap triggs
|
|