Ram Issues (Specific Case)
USCTrojan
Member Posts: 2
So we are making a game, it spawns a lot of high definition images, has a lot of collisions, and the ram builds up quick, obviously without getting deleted. It used to work just fine on an iphone 4g however after doing minor adjustments, nothing that would effect the ram to this extent, it continuously crashes on the iphone and on an ipad version we have made. What are things we could look for/do to adjust the ram issues. I'm pretty sure I have basically found in forums that there is no way to dump ram during game play, especially with game salad (possibly with all iphone creators). Just so you understand the game, it is a shooting game that spawns lots of bullets (images obviously). We are trying to find a solution. Please let me know if you have any suggestions.
Comments
images
audio
engine
other
stuff like that. spawning / destroying will kill performance, so won't using huge images. I was running into ram problems with my new iPad game, levels were sitting at 90MB of ram, which was very high for what was going on. I ended up tracking the problem back to 1 actor which was used to display notices when you died. In the actor I had 15 types of images getting loaded, all where 1024x768. when I retooled that to use smaller images (300x100) instrad of full screen ones, the memory dropped down to 37-43 per level.
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
FPS: 30-40
Images: 4 MB
Sounds: 7.8 MB
Game Engine: 21.5
Other: 8.3 MB
Total: 41.6 MB
On the iPhone 4 the numbers are very similar but the image usage is about 20 MB.