aelzohry / iphonefrotz

Automatically exported from code.google.com/p/iphonefrotz
Other
0 stars 0 forks source link

Low Memory problem #69

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Start Curses
2. Tilt
3. Quit Curses

What is the expected output or behavior?  What do you see instead?
"Low Memory" message from Frotz.

What version of Frotz are you using?
1.0.1

What version of iPhone/iPod Touch OS? (2.0, 2.0.1, 2.0.2)
iPhone 2.2/16MB

Please provide any additional information below.
I'm not sure this is completely deterministic, but it happens more often than 
not.

Original issue reported on code.google.com by John.W.K...@gmail.com on 14 Jan 2009 at 2:50

GoogleCodeExporter commented 8 years ago
The low memory dialog is not a bug but how Frotz responds when the iPhone OS 
tells it that it is running out 
of memory; if I didn't free up some memory by deallocating images, it would 
likely crash (as you might notice 
a lot of apps do).
Unlike App Store Apps, the iPhone's built-in apps can stay running and continue 
to use memory, preventing 
other apps from allocating as much as they may need.  The iPhone does not 
support virtual memory, so there 
is a fixed amount available.
When you are low on memory, the problem is usually Safari.  You can either 
reboot the phone, or you can just 
switch to Safari and hold down the home button for 10 seconds to kill it and 
make it release its memory.
The will make Frotz and other apps run better.

Original comment by spath...@gmail.com on 14 Jan 2009 at 6:38