<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Yes, tinsel has its own memory manager, and that's what the original engine did for memory allocations too<br><br>It's quite tied in to the engine, so I'm not sure how easy it will be to replace it with regular mallocs<br><br>Regards<br>Filippos<br><br><hr id="stopSpelling">From: yotambarnoy@gmail.com<br>Date: Fri, 23 Oct 2009 15:55:45 +0200<br>To: scummvm-devel@lists.sourceforge.net<br>Subject: [Scummvm-devel] Discworld 2 memory issue<br><br><div dir="ltr">The PSP testers just discovered an issue with discworld 2's memory allocations:<br><br>Now that the PSP has enough memory to run DW2 due to the plugin system, we thought that it would be possible to run the game. However, because of the way the plugins are currently implemented (they're all loaded into memory, causing other small allocations to be made deep into the heap), it's impossible to allocate the 10MB needed by DW2 when it starts running even though those 10MB are present.<br>

<br>Is it possible to split up the allocation into smaller allocations? What is the reason for having a specialized memory manager for Tinsel anyway? Is that just the way the code came? Would it be possible to just convert it to regular mallocs?<br>

<br>Thanks,<br>Yotam<br></div>                                    <br /><hr />Windows 7: It helps you do more. <a href='http://www.microsoft.com/Windows/windows-7/default.aspx?ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_evergreen3:102009' target='_new'>Explore Windows 7.</a></body>
</html>