Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17078

Memory problem while loading pngs

$
0
0

@smitpatel88 wrote:

Hi,

Create HelloWorld project with v3.12
Run in Xcode.
Memory takes 10.0 MB
Now remove HelloWorld.png, memory takes 9.6 mb

Size of that png is 40 kb and it takes 400 kb in memory.
Same is happening for any png, it takes 5 to 10 times more than its actual size.
So is this normal?
Because my current game has lots of graphics and its crash on low end device due to insufficient memory.
Also same thing with spritesheets.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 17078

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>