Hi Jens, On Mon, Nov 11, 2013 at 02:55:11PM +0100, Jens Bauer wrote: > I know on some systems, malloc can't handle buffers larger than 1MB.
Do you mean some embedded ones? Still that limitation sounds way too strange for any memory allocator I can think of. > But sometimes I also use daisy-chaining (eg. pointer to 'next', plus a > 'length' field in the beginning). LwIP does something like that with pbufs, yes, forcing one to always use special functions to search or extract substrings. In the LwIP case this strategy makes a lot of sense, as it allows to avoid memory fragmentation and provides more predictable execution environment. -- Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! mailto:[email protected] ------------------------------------------------------------------------------ DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
