<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi!<br>Checking the allocations for SAGA after intro sequence has been done, there are lots of zero byte allocations , mostly from here<br>Saga::Actor::loadFrameList(int,struct Saga::ActorFrameSequence * &,int &) <G:\scummvm-1-0-0\engines\saga\actor.cpp #350> + 11 - ScummVM.exe! 38bcde68()<br><br>where the number of frames is 0, still an allocation is done. Is there a memory overhead even for zero allocations perhaps?<br><br>Cheers<br>Lars<br><br>> Date: Thu, 13 Aug 2009 22:03:59 +0100<br>> From: neil@millstone.demon.co.uk<br>> To: lordhoto@scummvm.org<br>> CC: scummvm-devel@lists.sourceforge.net<br>> Subject: Re: [Scummvm-devel] ScummVM 1.0.0: Release status 2009-08-11 --    Full feature, freeze<br>> <br>> Johannes Schickel wrote:<br>> > Johannes Schickel wrote:<br>> >><br>> >> I remember DrMcCoy moved some video player code from gob into <br>> >> graphics/. I just asked him and the tables for the video codec of <br>> >> (yet unsupported) the game Urban Runner take up 72kb. He also says <br>> >> it's enabled even when gob is disabled. So I guess this might be the <br>> >> cause for the ~80kb increase. A proper solution would be to only <br>> >> enable that code when GOB is enabled or when a build supporting <br>> >> plugins is made. I guess that might fix up the size increase.<br>> >><br>> ><br>> > Just to be sure you all noticed it. DrMcCoy made a patch for that:<br>> > http://sourceforge.net/tracker/?func=detail&aid=2836424&group_id=37116&atid=418822 <br>> ><br>> ><br>> > // Johannes<br>> ><br>> Thank for working on this.  Unfortunately, this patch doesn't make any <br>> difference to the binary size of the DS port.  Since code stripping is <br>> enabled, I would imagine that this unused code data in these video <br>> decoders was already being stripped, so removing it from the source made <br>> no difference.<br>> <br>> Do you have any other ideas about how I could reduce the memory usage in <br>> Inherit the Earth?<br>> <br>> Is there any data which is loaded all the time which I could only load <br>> when needed?  Or any buffers that could be shrunk a little?  Something <br>> like this could possibly give me the extra RAM I need.<br>> <br>> Thanks,<br>> <br>> - Neil<br>> <br>> ------------------------------------------------------------------------------<br>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day <br>> trial. Simplify your report design, integration and deployment - and focus on <br>> what you do best, core application coding. Discover what's new with <br>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july<br>> _______________________________________________<br>> Scummvm-devel mailing list<br>> Scummvm-devel@lists.sourceforge.net<br>> https://lists.sourceforge.net/lists/listinfo/scummvm-devel<br><br /><hr />What can you do with the new Windows Live? <a href='http://www.microsoft.com/windows/windowslive/default.aspx' target='_new'>Find out</a></body>
</html>