[Mono-devel-list] Limiting Memory Allocation
jimpurbrick at yahoo.co.uk
Wed May 4 15:16:30 EDT 2005
> Given that you are generating all the code from a
> source script at runtime, why don't you just inject
> code to monitor memory usage inline?
> Unless you are revising LSL (I'm a secondlife user)
> all data operations are value based, so it's pretty
> easy to see where memory is freed.
Ultimately it would be nice if we weren't generating
all the code and that this would work with any CIL
from anywhere. Having said that, bytecode translation
is currently part of the plan, so it could go in
> btw. I'm curious as to how you are dealing with the
> issue of assemblies (dynamically generated or
> otherwise) not being unloadable?
Paolo was talking about DynamicMethod Lightweight Code
Generation stuff as a potential solution to this
problem, which I'm planing to look in to.
> As you need some way to
> serialize script state anyway, I guess you could
> serialize all the scripts periodically and unload
> AppDomain and start again.
At a pinch, this would do.
How much free photo storage do you get? Store your holiday
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com
More information about the Mono-devel-list