do restricting apps use ram

Restricting apps typically do not directly use RAM. However, when an app is restricted, it may be kept in a suspended or frozen state in the background, which means it requires a certain amount of RAM to maintain its state. So, while the app itself may not actively use RAM, the system still allocates some resources to hold its data in memory.