Sir, is there any way to not allow malloc to hold memory ? I mean shouldnt
free(), be freeing the memory ?


On Tue, Oct 29, 2013 at 1:19 AM, Richard Hipp <d...@sqlite.org> wrote:

> On Mon, Oct 28, 2013 at 3:47 PM, Raheel Gupta <raheel...@gmail.com> wrote:
>
> >
> > Then I ran "Pragma shrink_memory"
> >
> > Memory Used:                         152584 (max 131658680) bytes
> > Number of Outstanding Allocations:   79 (max 2081)
> >
>
> So, after running "PRAGMA shrink_memory", SQLite has reduced its memory
> holdings to 152KB in 79 separate memory allocations.    If your OS says the
> process is using more memory than that, then the extra memory must be used
> by the application or else be reusable freespace still held by your
> malloc() implementation.
>
> --
> 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