Here is my question. Empty cocos2d project has weight 3.38 MB (standart "Hello world"). I check it by the Profile->Allocate Kit. Now I have a .png image with a size 382x512 pixels. It will be extended to 512x512 in the RAM (2 degree). I add this file to project just like this:
CCSprite* sprite = [CCSprite spriteWithFile:@"mySprite.png"];
And now the most interesting. "mySprite.png" has a 8888 pixel format, i.e. it must occupie 512x512 = 0.5*0.5 = 0.25 MB * 4 = 1 MB (4 - 4 bytes from the pixel format). Am I right? I think so, but when I checked how much the project weight, I found that the project has the 5,54 MB, i.e. "mySprite" has oppupied > 2 MB in the RAM.
What am I doing wrong? And how can I fix it? :/ Thx.