Hello, I think that the big amount of memory required by annotate happens due to a memory leak. Using valgrind confirmed me this.
I came to a dead-end trying to understand the blob functions. I decide to enable the assert_blob_is_reset(x) And the assertion fails everywhere. I don't know how to initialise a blob. According to this assertion, any blob should be declared with initial value, as in; Blob b = empty_blob; and only then, blob_zero(&b) can work fine. Is it me not understanding, or the total fossil code is full of Blobs not initialised to empty_blob? blob_init requires the blob to be reset. blob_zero requires the blob to be reset. blob_reset requires the blob to be init. The only deadlock exit I see to that is having every blob assigned empty_blob to any blob structure declared. (I keep on working on this... let's see if I can get rid of the leaks after adding many empty_blob). _______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

