peter-lawrey / HugeCollections-OLD

Huge Collections for Java using efficient off heap storage
273 stars 51 forks source link

Cache size exceed bug #30

Open mesutcank opened 10 years ago

mesutcank commented 10 years ago

Hi,

I'm using HugeCollecitons for Product Catalogue purpose. I created a HugeHashMap using:

cache = new HugeHashMap<>(HugeConfig.SMALL.clone(), kClass, vClass);

With this configuration if I put small objects (objects smaller than bucket size), it works fine.

But if I put larger objects (objects larger than bucket size), I face problems at keySet and entrySet functions. Those objects are missing at set results, but I can access object with get method.

leventov commented 10 years ago

SharedHashMap had the same problem, but it was resolved some time ago. HugeHashMap is a bit outdated right now. We know that and are going to update it too.