Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Remaining memory and lists

Troy Westerburg
Registered User
Join date: 23 Apr 2004
Posts: 26
09-09-2004 16:13
My script has a large list that uses all my memory. as my free memory shrinks to nothing, I remove the oldest list items; however, this does not cause the free memory to increase again. I was told (before being called a helpless newb, lol) to recalculate the list length after every list delete operation but don;t fully understand. How can I increase available free memory? thanks :)
Moleculor Satyr
Fireflies!
Join date: 5 Jan 2004
Posts: 2,650
09-09-2004 16:37
Odd. Recalculate the list length, you say?

Try running llGetListLength() on a list immediately after removing items from the list. See if that helps. (Please come back and tell if it does, I've never heard of this before, and this could keep a project I'm working on from exploding.)
_____________________
</sarcasm>
Troy Westerburg
Registered User
Join date: 23 Apr 2004
Posts: 26
09-09-2004 16:39
I'd already tried that, it didnt help :(
Moleculor Satyr
Fireflies!
Join date: 5 Jan 2004
Posts: 2,650
09-09-2004 16:41
Report it as a bug. *sigh* I hate these memory leaks. (Be sure to be very detailed. Include a copy of the script, if you don't mind the Lindens getting a hand on it.)
_____________________
</sarcasm>
Troy Westerburg
Registered User
Join date: 23 Apr 2004
Posts: 26
09-09-2004 16:43
I have a test script ;)

thanks Mole
Samhain Broom
Registered User
Join date: 1 Aug 2004
Posts: 298
09-17-2004 12:30
[EDIT]Check out this thread for reading TWO note cards... (hehe then chop it in half!)

/54/02/22887/1.html

Why not try reading from a note card?
_____________________
rm -rf /bin/ladden #beware of geeks bearing grifts
Troy Westerburg
Registered User
Join date: 23 Apr 2004
Posts: 26
09-17-2004 13:52
aye, thanks, but 'reading' isnt a problem; it's writing I'm doing. (real shame you can't write to notecards!!!)

I have a couple of alternatives to my problems now, but still wonder why memory doesnt seem to be released. :))