On Saturday 03 December 2005 09:55, R S wrote: > Hi: > > Thanks a lot for your input. > > The arena size is: > ARENA SIZE = 133956528 Bytes ~ 127.7 MB which is very close to the 128 that > my target has. > Also if ecos application has addresses ranging from 0xc00171e8 up to > 0xc7fd1000, how can heap be that large. Doesn't this mean ecos app have > approx 8MB of space. > What am I missing here???
From the redboot output: Platform: BRH (XScale) Copyright (C) 2000, 2001, 2002, Red Hat, Inc. RAM: 0xc0000000-0xc8000000, 0xc00171e8-0xc7fd1000 available FLASH: 0x00000000 - 0x00400000, 32 blocks of 0x00020000 bytes each. $ irb irb(main):001:0> 0xc7fd1000-0xc00171e8 => 133930520 irb(main):002:0> (0xc7fd1000-0xc00171e8)/(1024.0*1024) => 127.726097106934 irb(main):003:0> This means your application has 133930520 bytes = 127.7 MB memory available. The heap will take all space which is not used by your application (code, static data, global data, const data). So if your application uses more (static) memory, the available heap size will automatically shrink. Here you can find more information about the sections: http://refspecs.freestandards.org/LSB_3.0.0/LSB-Core-generic/LSB-Core-generic/specialsections.html Bye Alex -- Work: [EMAIL PROTECTED] - http://www.jenoptik-los.de Home: [EMAIL PROTECTED] - http://www.kde.org [EMAIL PROTECTED] - http://www.neundorf.net -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
