| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This needs to be looked into. This commit, unfortunately, reinstates
a memory leak in regions that see significant script fluctuation,
e.g. lots of scripted attachments, or script development.
|
|
|
|
|
| |
Moved the Close() for the appdomain-hosted parts into a new destructor
on ScriptInstance.
|
|
|
|
|
| |
This matches behavior seen with an earlier attempt to do this, apparently
the sponsor mechanism does't work in Mono
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|Date: Wed, 5 Aug 2009 09:51:52 -0700
|Subject: [PATCH] Closed two major memory leaks for scripted objects
|
|Two major memory leaks for the scripted objects were fixed
|- One leak had to do with remoting acrossing app domains. When a script and
| its controlling agent communicate across an application boundary, it calls
| functions on a stub proxy object that then invokes the remote method on
| the object in the other app domain. These stub objects (two for each script)
| were setup to have infinate lifetimes and were never being garbage collected.
|- The second leak was the result of adding a scene object part instance method
| to a scene event and never removing it. This cause the event's delegate list
| to maintain a link to that object which is then never freed as the scene event
| object is never destroyed.
Patch applied, please direct feedback to me. Possible issue: Longtime idle
scripts like vendors may fail.
|
|
|
|
| |
LICENSE.txt.
|
|
|
|
|
|
| |
scripts until that can be better debugged
|
| |
|
|
|
|
| |
on GC. Also removed lease for LSL_Api as it strictly speaking should not be MarshalByRef. Or should it? If so I broke scripting! :)
|
|
|
|
|
|
| |
Thank you, idb, for a patch that fixes the jump function in LSL.
|
|
|
|
|
|
|
| |
Thank you, nlin, for a patch that fixes serialization of vector and
quaternion types for script state.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* Might break something.. hard to say.. 0.o
|
|
|
|
|
|
| |
Change serialization to omit types it can't deal with.
|
| |
|
| |
|
|
|
|
|
| |
Fix unreachable code due to typo in llDetectedGroup.
|
|
|
|
|
|
|
| |
variables to their initializer values, rather then zeroing them.
Also handles lists properly now.
|
|
|
|
|
|
|
| |
an implicit reference into a proxied one and further reduces memory
consumption of XEngine
|
| |
|
|
|
|
|
|
|
| |
Add LifetimeService overrides to all MarshalByRef derived classes
to prevent the remoting interfaces from expiring.
|
| |
|
|
api and compiler out of XEngine"
"First stage in a major Script Engine refactor, that will result in the LSL implementaions ebing reconverged. Not there yet, but one major part is done."
Thank you, Melanie!
|