bigqueue icon indicating copy to clipboard operation
bigqueue copied to clipboard

Limit memory size not available

Open 892294101 opened this issue 4 years ago • 2 comments

Bigqueue. Setarenasize() default 128M

Bigqueue. Setmaxinmememarenas() defaults to 3

Theoretically, the maximum number of Enqueue data is 128 * 3, but in practice, I can test unlimited Enqueue data.

How can I limit the Enqueue data to 1024m?

892294101 avatar Oct 14 '21 16:10 892294101

I plan to use it as a data caching module in my project.

I hope you can tell me the solution.

Thank you.

892294101 avatar Oct 15 '21 04:10 892294101

Bigqueue writes data to disks and that is why you could enqueue more data that what is allowed to be in memory.

aman-arista avatar Oct 21 '21 19:10 aman-arista