Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Another reason to avoid Mono?

Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
09-29-2009 07:22
This just came up on the Scripting Tips list...

http://flyingfrogblog.blogspot.com/2009/01/mono-22-still-leaks-memory.html

If this is caused by the conservative garbage collector that's going to make it hard to fix. This problem has been the bane of garbage collectors since the days of the great QUUX, who penned this in '79:

Reclaimer, spare that tree!
Take not a single bit!
It used to point to me,
Now I'm protecting it.
_____________________
Argent Stonecutter - http://globalcausalityviolation.blogspot.com/

"And now I'm going to show you something really cool."

Skyhook Station - http://xrl.us/skyhook23
Coonspiracy Store - http://xrl.us/coonstore
Imnotgoing Sideways
Can't outlaw cute! =^-^=
Join date: 17 Nov 2007
Posts: 4,694
09-29-2009 07:42
I'd be curious to see if LL's implementation actually has this inherit leak. Considering the script count some sims are maintaining, a leak like that would be so bloody apparent that sims would require a reboot every few hours just to be functional. (O.o)
_____________________
Somewhere in this world; there is someone having some good clean fun doing the one thing you hate the most. (^_^)y


http://slurl.com/secondlife/Ferguson/54/237/94
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
09-29-2009 07:51
Well, that particular leak was created by deliberately setting up the worst case (the self-referential list) and doing nothing but creating and abandoning nodes as fast as it can. This wouldn't happen nearly as quickly in normal use but would explain why some sims seem to require restarts on a regular basis.
_____________________
Argent Stonecutter - http://globalcausalityviolation.blogspot.com/

"And now I'm going to show you something really cool."

Skyhook Station - http://xrl.us/skyhook23
Coonspiracy Store - http://xrl.us/coonstore
Escort DeFarge
Together
Join date: 18 Nov 2004
Posts: 681
09-30-2009 17:07
...methinks we should wait until it works...

...given that it's been nearly four years in the making, we can probably expect a viable implementation well before... 2015.

/esc
_____________________
http://slurl.com/secondlife/Together