Add memory operations for resizable arrays