hazelcast/hazelcast — pull request #3814 by velo (2014-10-10 01:22:40+00:00)
Title: MaxSizePolicy based on how much free memory there is available

Related to the discussion at #3811

Dont know if that is something you guys wanna to integrate, but I will use for sure =D