Skip to content

Program exit on Env.open #209

@pgmillon

Description

@pgmillon

node-lmdb 0.9.7
Node v18.9.1
Alpine 3.16.2 with g++, make, gcompat

Simple Node app using the examples from the README:

import lmdb  from 'node-lmdb';

const env = new lmdb.Env();
env.open({
    path: "/opt/mydata",
    mapSize: 2*1024*1024*1024, // maximum database size
    maxDbs: 3
});

console.log('done')

The lock.mdb file is created within the mydata folder.
This simple program exit with code 0 on env.open.
No messages in the output.

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