Time to unlock the bootloader and flash a stable ROM? XDA may have many stable ROMs which can offer better RAM management and stability. By the looks of it, background memory management is being aggressive and shutting down your background active tasks.