Friends, I am currently in the process of optimization.
Currently, I am using version 3.8.3 and the following problems occur in iOS.
- When loading 4096 atlas, memory occupancy is set to 128 MB.
- Code used
- resources.load(“Atlas/” + fullName, SpriteAtlas, (err, atlas) => {
if (err) {
if (cb) {
cb(null);
}
return;
}
if (cb) {
cb(atlas);
}
});
The current problem is that memory usage is excessive.
How can I normalize this?