>I took over 1300 photos and videos on the SX30 with the EXMEM memory manager enabled, and had no >problems. I also had this enabled on the G12 and did not have any problems until another bug surfaced >that forced me to turn off CHDK on the G12.
I get problem with my Camera when use zebra mode and i have
#undef CAM_ZEBRA_NOBUF
because main reason to use exmem is for me to get zebra buffer.
but as soon i switch to record mode and have zebra view enable, and i call then memory information, of chdk, i have 0 kb free.strange.maybe the new exmem handler have a alloc bug.
Have you test if you get zebra working ok on your camera, when it use a buffer ?
normaly zebra buffer use only around 290 kb
with 0 kb free of course, the camera crash sooner or later.
I have 2.2 megabyte free, and i have no memory leaks, it stay constant, during long shooting session, and when i use no zebra view or use zebra with nobuff, then i never every notice a crash since readfastdir fix.
But i want use Zebra with buffers. ;-)
EDIT:
I test your code, your values work on Ixus 1000 same ways as my, but i get then 1.1 megabyte free mem.thats also enough.
but when use zebra buffer, free mem drop to 0.
In 16:9 mode zebra view look ok with nobuf.
so strange what cause this 0 mem free problem.
when you do in shoot mode, show memory info and see size 0, then you can switch off camera corect, so there is no risc to test.but you should not call any script, this let camera crash.