Local memory allocation for locking cc