|
Very Keynes
LSL is a Virus
Join date: 6 May 2006
Posts: 484
|
02-05-2009 12:30
I compiled a large script that I have been developing for a while just now and got a Stack / Heap collision during Initialisation. I thought it strange, as previous versions have never come near to the memory limit in MONO and this version should have used less memory.
I put in a LLOwnerSay and an llSleep into the initialisation routine so that I could monitor the number of iterations in the initialisation loop (it reeds inventory), thinking it may be missing a critical test.
The system compiled and ran with no indication of the initial problem and no changes other than the inclusion of the llsleep and LLOwnerSay.
so I added a llGetFreeMemory at then end of initialisation and that is where it got really strange.
Here is the memory output from 6 recompiles of the same script with no changes between each compile:
[12:10] DanceMaster Solo V1.00: 4746 [12:11] DanceMaster Solo V1.00: 8186 [12:11] DanceMaster Solo V1.00: 4648 [12:12] DanceMaster Solo V1.00: 8196 [12:13] DanceMaster Solo V1.00: 4676 [12:14] DanceMaster Solo V1.00: 4770
has any one also noticed similar behaviour, or aware of any MONO changes in the new Server Roll out?
I can move of my data storage into a separate script, so the actual figures are not my worry, it is the inconsistency in the figures that has me concerned.
|
|
Briana Dawson
Attach to Mouth
Join date: 23 Sep 2003
Posts: 5,855
|
02-05-2009 12:53
What is a networked dance system? How does it work?
Sorry about your Mono problem. A jump from 4k to 8k can be a script killer.
|
|
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
|
02-05-2009 13:09
In http://wiki.secondlife.com/wiki/Release_Notes/Second_Life_Server/1.25SVC-3679[c] Revert the mono scheduler change -- more thought required before re-introducing the change
|
|
Very Keynes
LSL is a Virus
Join date: 6 May 2006
Posts: 484
|
02-05-2009 13:40
Thanks Argent, I have not really looked into that issue to deeply as I was expecting a fix, but if I recall correctly it was related to lists and a memory leek, I guess my code being list centric is a major target for that bug  Briana, a networked dance system is a similar in concept to existing dance systems, that allow users to share the animations in the central device, but extends it to allow any one in the sim to to use anyone else's shared animations and at the same time allow for several group, line, and synchronised dances to be controlled independently. Contact me in world if you are interested in beta testing it or need more info. I would post it here but that would be spamming in my mind and an abuse of the forum.
|