Changes max no of allocations from 5 to 500.
Changes Allocation.MAX_LIFETIME to Allocation.DEFAULT_LIFETIME
Adds MAX_LIFETIME to Allocation.