default allocation is made in memory pages
when memory pages are full, they are flushed into the shared memory heap
shared values allocation are made directly in shared memory heap