-
-
Notifications
You must be signed in to change notification settings - Fork 65
Open
Description
Hello,
I'm starting a project where, after some research, I would like to embed clover db. I've started to tried it but I'm getting kernel panic due to memory allocation.
I was going through past issues and I read issue #35 , so I made sure I'm using db.Close(), actually my code is just your repply to that issue:
db, err := c.Open("./db")
defer db.Close()
if err != nil {
panic(err)
}
After which I get a kernel panic saying:
cannot allocate memory while mmapping ./db2/000001.vlog with size: 2147483646
My question is: is there a way to configure the db so it doesn't reserve so much memory from the start?
Thank you for your work.
Metadata
Metadata
Assignees
Labels
No labels