Skip to content

Out of memory errors? #36

@chrisspen

Description

@chrisspen

I'm trying to query over a sequences of multiple Sqlite3 databases, and after a few dozen, I start getting the error:

RuntimeError: abort(RangeError: WebAssembly.instantiate(): Out of memory: wasm memory). Build with -s ASSERTIONS=1 for more info.

I'm using a version of your load() that accepts an argument for the sqlite3 path.

Is there anything I can do to fix this error? I'm not purposefully persisting any objects, as far as I know, and I only need to access one database at a time. Is there something I need to do to explicitly free up memory used by a previous createDbWorker() instance? Is there like a destroyDbWorker()?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions