Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Stack-Heap Collision

Pleze Playfair
Registered User
Join date: 27 Aug 2004
Posts: 100
08-12-2005 12:06
Sorry for sounding so green , but I'm receiving the following error message while making a visitor counter:

Object: Script run-time error
Object: Stack-Heap Collision

What does this usually mean? Thanks in advance for any responses :))
Douglas Callahan
Fresh Prince Of SL
Join date: 2 Jul 2004
Posts: 349
08-12-2005 12:11
stack heap collision means you ran out of memory. Break up your script into two or three scripts and use llMessageLinked to pass information. Also, constantly check your free memory by using llOwnerSay((string) llGetFreeMemory())

A stack heap collision is a run time error, its that kind of error. Here's the Error Page on wiki to read more.
_____________________
Other than that, Mrs. Lincoln, how was the play?
Cazzj Brearly
Look! A UFO!
Join date: 21 Mar 2005
Posts: 113
08-12-2005 13:35
Weird. I just recently (past 2 days) started getting those 2 error when Id wear my wet IKON Roam backpack. I switched to a backup copy and the error stopped.

My errors came up as:

Cazzj Brearly: Script run-time error
Cazzj Brearly: Stack-Heap Collision

Probly because I was wearing the item...would that be right thinking?
Douglas Callahan
Fresh Prince Of SL
Join date: 2 Jul 2004
Posts: 349
08-12-2005 14:19
I can't think of a way that wearing an object could make a stack heap collision. It's caused by lack of script memory, contact the script maker and tell him/her.
_____________________
Other than that, Mrs. Lincoln, how was the play?