On Mon, Jan 16, 2012 at 5:36 PM, Richard Hipp <d...@sqlite.org> wrote:
> On Mon, Jan 16, 2012 at 5:31 PM, John Elrick <john.elr...@fenestra.com > >wrote: > > SNIP > This is very curious and perhaps a useful clue. SQLite does call > SNIP It is a clue that I need a break. While updating the counters to allow for nil pointers, I noticed I had done something stupid in the accumulators for realloc. Fixed below: Application: Surveyor.exe Sqlite version: 3.7.9 Date/Time: 01/17/2012 08:17:22 Memory Used: 7,905,536 (max 8,582,104) bytes Page Cache Used: 0 (max 0) pages Page Cache Overflow: 6,910,576 (max 6,911,600) bytes Number of Scratch Allocations Used: 0 (max 0) Scratch Overflow: 0 (max 24,880) bytes Largest Allocation: 500,042 bytes Parser Stack: 0 Largest Pcache Allocation: 4,232 bytes Largest Scratch Allocation: 24,880 bytes Number of Outstanding Allocations: 5,835 (max 6,499) Lookaside Slots Used: 500 (max 500) Pager Heap Usage: 6,873,408 bytes Schema Heap Usage: 39,560 bytes Statement Heap/Lookaside Usage: 806,592 bytes Successful lookaside attempts: 4,888 Lookaside failures due to size: 3,782,307 Lookaside failures due to OOM: 4,090,019 Page cache hits: 2,585,425 Page cache misses: 0 Cumulative Allocated Memory: 932,315,928 Count of _malloc Calls: 69,859,114 Cumulative Reallocated Memory: 226,385,120 Cumulative Reallocated Memory where nil: 0 Count of _realloc Calls: 776,372 Count of _realloc Calls where nil: 0 Count of _free Calls: 69,857,292 Cumulative _mallocs by size <= 1kb: 1,118,058,528 bytes (63,640,300 count) 1kb to 4kb: 3,836,490,296 bytes (6,197,060 count) 4bk to 8kb: 47,800,672 bytes (11,571 count) 8bk to 16kb: 597,016 bytes (46 count) 16bk to 32kb: 224,272,704 bytes (10,136 count) 32bk to 64kb: 64,008 bytes (1 count) 64bk to 128kb: 0 bytes (0 count) 128kb to 256kb: 0 bytes (0 count) 256kb to 512kb: 0 bytes (0 count) 512kb to 1024kb: 0 bytes (0 count) > 1mb: 0 bytes (0 count) Cumulative _reallocs by size <= 1kb: 189,468,416 bytes (759,348 count) 1kb to 4kb: 36,904,328 bytes (17,022 count) 4bk to 8kb: 12,376 bytes (2 count) 8bk to 16kb: 0 bytes (0 count) 16bk to 32kb: 0 bytes (0 count) 32bk to 64kb: 0 bytes (0 count) 64bk to 128kb: 0 bytes (0 count) 128kb to 256kb: 0 bytes (0 count) 256kb to 512kb: 0 bytes (0 count) 512kb to 1024kb: 0 bytes (0 count) > 1mb: 0 bytes (0 count) Cumulative _reallocs of nil pointers by size <= 1kb: 0 bytes (0 count) 1kb to 4kb: 0 bytes (0 count) 4bk to 8kb: 0 bytes (0 count) 8bk to 16kb: 0 bytes (0 count) 16bk to 32kb: 0 bytes (0 count) 32bk to 64kb: 0 bytes (0 count) 64bk to 128kb: 0 bytes (0 count) 128kb to 256kb: 0 bytes (0 count) 256kb to 512kb: 0 bytes (0 count) 512kb to 1024kb: 0 bytes (0 count) > 1mb: 0 bytes (0 count) _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users