Tony Tigereye
Registered User
Join date: 4 Sep 2003
Posts: 165
|
01-25-2005 11:18
I was messing around with a large script last night and I noticed it wasn't doing what it should have been doing when it reached a certain point: it should have either executed my llWhisper() function or it should have given a stack-heap collission. the interesting thing is that it did neither. It did nothing for a while, then I noticed it eventually started outputting the other whispers I had in the script.
Are stack-heap collissions a thing of the past?
|
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
|
01-25-2005 11:26
still exist... string a = "1";
default { state_entry() { while(1) { a+="1"; llSetText((string)llStringLength(a),<1,1,1>,1); } } }
crashes at 5354
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river. - Cyril Connolly
Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence. - James Nachtwey
|
Tony Tigereye
Registered User
Join date: 4 Sep 2003
Posts: 165
|
01-25-2005 12:08
Thanks Strife. That's interesting. The problem I was running into was happening after doing something like this:
list lParams = llParseStirng2List(somedumbstring, ["somedumbdelimeter"], []);
i'm guessing that it didn't have enough memory to create the list, but i never got any stack-heap error. i can't log in now since i'm at work but it'd be interesting to see if your experiment has similar results if creating a list in the manner i do above.
|
Jeffrey Gomez
Cubed™
Join date: 11 Jun 2004
Posts: 3,522
|
01-25-2005 13:00
I was going to say. Stack heaps are my way of reminding myself I'm maxing my scripts' memory and need a new one. 
_____________________
---
|
Tony Tigereye
Registered User
Join date: 4 Sep 2003
Posts: 165
|
01-25-2005 15:04
From: Jeffrey Gomez I was going to say. Stack heaps are my way of reminding myself I'm maxing my scripts' memory and need a new one.  yeah same here. so if they really have found some way to mask these, i'm worried i'm going to have to start using llGetFreeMemory() even though i can't really tell much from the number it returns, since i don't know how it relates to the size of the variable types.
|