dash icon indicating copy to clipboard operation
dash copied to clipboard

Question about failed to create a pool

Open yzx2337 opened this issue 2 years ago • 1 comments

static const char* layout_name = "hashtable"; pm_pool_ = pmemobj_create_addr(pool_name, layout_name, pool_size,CREATE_MODE_RW, (void*)pool_addr);

I tried to run the "test_pmem" and "example". However,both of them got an error called "failed to create a pool;". I think the reason is that the layout_name might be incomplete. Should I finish the layout_name by myself?

yzx2337 avatar Mar 07 '22 02:03 yzx2337

Hi,

I don't have this problem when I run it on my machine. Probably you could consider creating a smaller memory pool.

Baotong

baotonglu avatar Mar 10 '22 15:03 baotonglu