Pin memory right after creating