use glib memory slices for small frequent allocations
use glib slice allocator for pp resources