|
ArchTx Edo
Mystic/Artist/Architect
Join date: 13 Feb 2005
Posts: 1,993
|
11-26-2006 18:22
I made a gazebo with a script to change the transparency of the dome and walls. Everyonce in awhile it sends me this message: "Stack-Heap Collision".
What does this mean and what should I do about it?
_____________________
 VRchitecture Model Homes at http://slurl.com/secondlife/Shona/60/220/30 http://www.slexchange.com/modules.php?name=Marketplace&MerchantID=2240 http://shop.onrez.com/Archtx_Edo
|
|
Joannah Cramer
Registered User
Join date: 12 Apr 2006
Posts: 1,539
|
11-26-2006 19:44
From: ArchTx Edo What does this mean and what should I do about it? Means whatever you're doing requires more free memory than the script has at this point and so the operation fails. Though i was under impression this leaves the script in locked up state until it's reset either manually or by recompiling, or by another script. o.O; You can avoid it by taking good look at your script and trimming or rewriting memory intensive operations (manipulations of large lists and suchlike) so they process smaller chunks or do things differently where possible. In worst case it may be doable to split the script into separate scripts which perform smaller tasks and coordinate through link messages and such...
|
|
ed44 Gupte
Explorer (Retired)
Join date: 7 Oct 2005
Posts: 638
|
11-26-2006 21:13
Also check for recursion, ie a calls b, b calls a, ad infinitum
|