Use GSlice API instead of GMemChunk API for some memory allocation.