<div dir="ltr"><br>
<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">As long as only _one_ engine has this kind of behaviour, a workaround<br>
should be possible: Make sure that the tinsel plugin is loaded<br>
_first_; then the memory will be unfragmented when the other plugins<br>
are unloaded.<br>
<br>
Probably not a long time solution, but it should serve as a quick fix<br>
at least.<br>
<font color="#888888"><br>
<br>
// Marcus<br>
<br>
</font></blockquote><div><br>I thought that would solve the problem also, but it doesn't. What I think happens is that even after we load all the plugins, we make some small scummvm or loader allocations that fragment the memory further, so that unloading doesn't help. However, thinking about it now, this suggests the opposite solution of loading the plugin LAST. So long as there is 10MB+ of engines being loaded before Tinsel, those 10MB should be available.<br>
<br>I'll have to try it out.<br></div></div></div>