Skip to content

error returned from database: (code: 7) out of memory #431

@stopdesign

Description

@stopdesign

What are the system requirements?
I constantly getting "out of memory" error on any db-related operation while running on linux machine.

First, I couldn't even initialize the db:

me@uc:~ $ gurk
Enter passphrase · ********
Error: failed to open signal storage at: ~/.local/share/gurk/signal.sqlite

Caused by:
    0: while executing migrations: error returned from database: (code: 7) out of memory
    1: error returned from database: (code: 7) out of memory
    2: (code: 7) out of memory

After manually creating an empty table "t" in signal.sqlite:

Enter passphrase · ********
Error: failed to open signal storage at: ~/.local/share/gurk/signal.sqlite

Caused by:
    0: while executing migrations: error returned from database: (code: 26) file is not a database
    1: error returned from database: (code: 26) file is not a database
    2: (code: 26) file is not a database

After creating DB and conf files on a Mac, I copied all and got the app running. Now I got an error while sending a message:
"Protocol error: invalid state for call to sqlite to succeed: error returned from database: (code: 7) out of memory"

gurk v0.7.1 installed with cargo binstall --git https://github.com/boxdot/gurk-rs gurk

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