On Wed, Dec 16, 2009 at 10:21 PM, Albert ARIBAUD <albert.arib...@free.fr> wrote: > Øyvind Harboe a écrit : > >> The zy1000 has "infinite" ram w.r.t. small allocations(32 or >> 64mBytes depending on revision), so not checking small >> allocations is *highly unlikely * to cause problems for any >> embedded host with oodles of ram(megabytes). > > To be completely honest, it depends. If there's a leak somewhere and memory > gets lost monotonically, you *might* get failures in allocations more > frequently than you think. > > In fact, finding possible leaks might be more beneficial than checking > allocs -- after all, by checking failed allocs, we trade an OpenOCD crash > against an OpenOCD emergency stop, whereas by finding leaks we trade an > earlier OpenOCD crash against a later OpenOCD crash -- this buys us somme > working time. :)
We've done leak checks and we fixed a number of major leaks a long time ago. There may be leaks, but no *major* leak that we know about at this point.- -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development