运行两三个CCAnimate就报错

就下面两三句代码,在Windows下运行着挺好的,为什么手机上就不行
int randomNumber = HelloWorld::random(0,mAnimationArray->count());
CCLog(“ramdom index %d”,randomNumber);
const char animName = dynamic_cast<CCString>( mAnimationArray->objectAtIndex(randomNumber))->getCString();

CCAnimation *animation = CCAnimationCache::sharedAnimationCache()->animationByName(animName);

CCAnimation newAnim = (CCAnimation)animation->copy()->autorelease();

/* CCAnimation newAnim = CCAnimation::create(animation->getFrames(), animation->getDelayPerUnit(), animation->getLoops());
newAnim->setRestoreOriginalFrame(false);
/

int showNumber = 1;//HelloWorld::random(2,5);
for(int i = 0; i < showNumber; i++)
{
 int x = HelloWorld::random(50,850);

int y = HelloWorld::random(50,500);
CCSprite *sprite = CCSprite::create();
sprite->runAction(CCAnimate::create(newAnim));
sprite->setAnchorPoint(ccp(0.5,0.5));
sprite->setPosition(ccp(x,y));
this->addChild(sprite);
}

看下材质占有内存大小有400M,弄成2048×2048后,只有160M,但是加10个动画播放后,播放过程会卡,
难道播放流畅度,也要看图片占有内存的大小???

但是绘制时又不是绘制整张图,10个动画也就相当于一张2048×2048图片

全部弄成单张图片,也就21个动画就卡了

:10::10::10::10::10: