- Home /
[ECS] DefaultWorldInitialization.Initialize take 50MB
We are using ECS system to optimize perfomance. But DefaultWorldInitialization.Initialize call take too many memory. 50mb!! Is there any way reduce memory? Is there update plan to ecs system to reduce memory?
Answer by andrew-lukasik · Jun 16, 2020 at 03:43 PM
This call pre-allocates memory so default set of systems can run without allocations past this point. You can override this behavior manually choosing which systems you need with ICustomBootstrap. Some allocations are necessary for world to exist in memory.
Your answer
Follow this Question
Related Questions
EntityArchetype and ScriptableObject 0 Answers
Unity DOTS - How is it that they've implemented Entities.ForEach? 0 Answers
Applying offset of SubScene to entities 1 Answer
Can not add PhysicsCollider at runtime Unity in ECS 1 Answer
Should I use preview packages when developing Asset Store assets? 0 Answers