Category swapping in memory management

x