Skip to content

How can I find where SQLite stores data when using an in-memory database (:memory:)?  #1801

Open
@KaustubhMogha11

Description

@KaustubhMogha11

Issue Summary

The memory consumption of a Node.js server process using an SQLite in-memory database decreased from 1.5 GB to 50 MB in Task Manager, while the SQLite database still contains 1 GB of data. The database size was found using this query: SELECT (page_count - freelist_count) * page_size AS size FROM pragma_page_count(), pragma_freelist_count(), pragma_page_size().

Steps to Reproduce

Version

5.1.6

Node.js Version

16

How did you install the library?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions