|
Kenn Nilsson
AeonVox
Join date: 24 May 2005
Posts: 897
|
03-23-2007 17:35
Just thought I'd share my joy. Anyone else ever seen this error? (0, 0) : ERROR : Byte code assembly failed -- out of memory ...and yet my code is only 632 lines long  Tried to find the meaning of the error, just to ensure that I really did type too much in my 632 lines, but couldn't find any reference to this error anywhere. So...I guess now come the multi-script llMessageLinked() procedures... How I would kill for an include() function...
_____________________
--AeonVox--Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms chasing ghosts, eating magic pills, and listening to repetitive, addictive, electronic music.
|
|
Brain Curry
Registered User
Join date: 15 Jun 2006
Posts: 9
|
03-23-2007 18:52
From: Kenn Nilsson How I would kill for an include() function... You and me both, brother. That said, if you have a halfway decent editor, at least you can do it on your end. With emacs, I can make up for in put-it-together-ability what LSL lacks. Sometimes profoundly.
|
|
Gearsawe Stonecutter
Over there
Join date: 14 Sep 2005
Posts: 614
|
03-23-2007 19:51
Yes many of times I have seen this. Then I go back looking for wasted memory.
like do you use lot of link messages when all you do is send a NULL_KEY most of the time? make it into a function. yes it is a annoying.
|
|
Lex Neva
wears dorky glasses
Join date: 27 Nov 2004
Posts: 1,361
|
03-24-2007 08:09
Do you have a huge pile of data in a static variable initialization, like this? list foo = [1,2,3,4,5....a million]; That'll take up a lot of bytecode.
|
|
Kenn Nilsson
AeonVox
Join date: 24 May 2005
Posts: 897
|
03-24-2007 11:05
Thanks for all the feedback there...
Unfortunately, I neither had 'wasted memory' through things like sent NULL_KEYs or uncleaned/unused variables...
...nor did I have large static variables declared...
...I simply had too much written in the script...642 lines. Apparently right around 600 - 610 is where I hit my limits.
Anyway...got it fixed...broke the script into two...777 lines of code in two scripts communicating via -4 link-messages...instead of one at 642 lines.
_____________________
--AeonVox--Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms chasing ghosts, eating magic pills, and listening to repetitive, addictive, electronic music.
|