ios – Memory increase when using multiple EnviromentObject – SwiftUI


I’m building a new app and I’m using external APIs with it, I created a view models for every feature so let’s say I have a feature A and this features have a full CRUD operations and I want to make those data available across all app views so I used multiple @EnviromentObject

The question is: When I created multiple view models and those view models are ObservableObject to make the crud operations and share the data with all views it cause a huge increase in memory, sometimes it’s increasing to 400 mega on iPhone 14 Pro Max
So is it normal? I tested it with 5 EnvironentObjects

I’m using SwiftUI and I creating a new app so I want to make the data available across all views, something like Core Data but with external APIs