Valeyard
2012-08-24 17:05:27

Just to clarify, thats around 1.7Gb for Simba
Lol.
2012-08-24 17:05:27

2012-08-24 17:08:29
2012-08-24 17:11:36
From: x[Warrior]x3500
does the script have a memory leak?
2012-08-24 17:15:13
2012-08-24 17:33:40
From: grats
I'd take that much memory usage with 00% CPU anyday
2012-08-24 17:56:32
2012-08-24 18:08:36
From: masterBB
Monkey thiever v0.12
Memoryleak:
line 802:
[INDENT]ATPA := TPAToATPAEx(TPA, 20, 20);
should be:
TPAToATPAExWrap(TPA, 20, 20, ATPA); [/INDENT]
That was all I could find with a quicklook at it.
2012-08-25 16:46:10
From: Valeyard
Thanks very much for taking a look at it. I have made the change, (line 820 and not 802, just for future reference if someone reads this) and will let it run. Hopefully that was the problem, I will let you know anyway.
Cheers.
EDIT; I don't know much about pascal but was that a global/local variable problem you pointed out?
From: masterBB
Use wrappers, functions that return TPA and ATPA types will hog memory.
TPAtoATPAExWrap(ATPA, TPA, 20, 15);
We don't got a wrapper yet for middle tpa, you might want to push a fix for that.