I think I've found a bug or rather a storage eating monster

First of all, happy birthday to myself!

I got a big birthday present today at 0:00 am of my birthday.

What is it? It's a file that is trying to eat all of the remaining storage space on my iPhone!

I found out that it doesn't really matter how much you have left, it will eat them all.

I freak out at the moment when I saw the message on iTunes: "You need an additional 1kb to synch. your iPhone."

[caption id="attachment_160" align="alignnone" width="610" caption="Notice the "Other""][/caption]

The first thing I did was try rebooting the phone, it does solve the problem, but not inherently since it will start eating again.

So what is it that is eating my iPhone?!

A simple unix command came handy here: "find -size +1000000k" while logged in as mobile on mobile terminal or SSH through putty.

"./Library/RYP/logs/rockapp_2010-03-17.log"   size: 5988MB.

What a huge monster!

Hopefully deleting or making an empty file with all permission 444 will help.

[caption id="attachment_161" align="alignnone" width="634" caption="A peek via WinSCP"][/caption]

  • Update 1: Something weird happened, it still reports to me that disk is full after awhile, so now I'm worried that there's something similar to memory leakage or virus going on in my iPhone OS. find commend did not work this time. I tried to remove the log folder.
  • Update 2:  After removing the file, somehow the Media content gets screwed over. At this moment, if you try sync with iTunes, it will/might report not able to read contents and ask you to restore. After doing some research, this issue is fairly easy to solve as well: simply recursively remove the Media folder using: "rm -r /var/mobile/Media" this will make iTunes able to restore your iphone to a backup you've made before. It might take awhile. Also, reboot is required at the end. It works at the end.
  • This is why Flash should not get on mobile too soon

    Today I was watching Saturday Night Live on Hulu.com. And the laptop I was using got a blue screen due to overheating. So I monitored the temperature:

    [caption id="attachment_146" align="alignnone" width="408" caption="GPU: 85 degrees, Both cores of my CPU > 75 on a T9400+Nvidia 9600M"]GPU: 85 degrees, Both cores of my CPU > 75[/caption]

    Normally, this laptop operates with GPU around 60 degrees and CPUs around 50 degrees. When playing low-res videos and local media files. Flash is simply inefficient. I can't imagine the amount of batteries that it will be draining with current algorithms. It will simply kill the battery life.

    Update: The CPU and GPU temperature both reached 90 something degrees, and the laptop rebooted shortly after that.