Skip Menu |

This queue is for tickets about the Cache-FastMmap CPAN distribution.

Report information
The Basics
Id: 29657
Status: resolved
Priority: 0/
Queue: Cache-FastMmap

People
Owner: Nobody in particular
Requestors: FAGZAL [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 1.19
Fixed in: (no value)



Subject: Explain page_size / 64k default?
I recently run into a problem where a big structure I wanted to store using Cache::FastMmap "disappeared". I have tracked down the problem to having a structure bigger than 64k. When I have increased page_size to 1024*1024, the problem went away. I think the documentation of the module does not explain this behaviour, so it needs some clarification. What is page_size exactly for? Why this 64k limit, and how do I tell whether a ->set was unsuccesful because I wanted to store something too big?? Thank you!
I've just uploaded 1.20 which explains about page sizes and key/value item sizes in a lot more detail. It also explains a lot about how the cache file interacts with the OS in more detail as well (though mostly related to Linux behaviour which is what I'm familiar with)