On 19 February 2014 23:09, Clemens Ladisch <clem...@ladisch.de> wrote:
> Woody Wu wrote:
>> I found my sqlite application presents a huge VSZ usage, 100+M in an
>> ARM system, which has only 128M physical memory.  Does this because
>> sqlite is using mmap to map the database file?
>
> This is likely.

Glad to hear that :)  How do I confirm that this is true on Linux platform?

>
>> If this is the reason, how can I reduce the VSZ used?
>
> You could disable mmap.

How do disable it? And what are possible disadvantages if I do it?


>
> But why would you want to do this?  The size of the virtual address
> space is 4 GB, so I doubt you are running out of that.

Hum, I understand you are right.  But I just wan to ensure ...  Many
thanks Clemens ~

>
>
> Regards,
> Clemens
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users



-- 
Life is the only flaw in an otherwise perfect nonexistence
    -- Schopenhauer

narke
public key at http://subkeys.pgp.net:11371 (narkewo...@gmail.com)
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to