Thanks, Richard. I'm escalating this issue to Apple and will post the results 
when they come in.

Joseph


-----Original Message-----
From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users-boun...@sqlite.org] 
On Behalf Of Richard Hipp
Sent: Monday, May 09, 2011 3:27 PM
To: General Discussion of SQLite Database
Subject: Re: [sqlite] iOS Mem Alloc Issue - sqlite3_extended_errcode

On Mon, May 9, 2011 at 3:19 PM, Rooney, Joe <joseph.roo...@commscope.com>wrote:

> I've used SQLite for some time in iOS apps, but now I'm doing an iPad
> Corporate Directory app, and running into serious memory issues. Using
> Instruments, I'm finding fully 50% of my live memory is Malloc 52 KB,
> entirely allocated to libsqlite3.dylib, and specifically to
> sqlite3_extended_errcode.


sqlite3_extended_errcode does not do any memory allocations.  See for
yourself:

    http://www.sqlite.org/src/artifact/f00cee5a27f5df?ln=1603-1611
    http://www.sqlite.org/src/artifact/914e860d2149?ln=1068-1080

So there seems to be some kind of instrumentation problem....




> The memory is not shown as leaking, but it is not being released. Every
> time I do another employee search, over 1 MB of Malloc 52 is added to live
> allocations.
>
> Any ideas?
>
> Joseph
>
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>



-- 
D. Richard Hipp
d...@sqlite.org
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to