What happen if you delete thumbdata files ? Surprisingly ,
Nothing. Except that it will free considerable space on your
android os and all the apps and gallery will be fine.
But wait a sec. These are system files, and Android will
automatically create them after you delete them.
Solution:
1) just copy the name of the file and delete the files.
2)create a .txt file named as the name of the file.
3)move it to the .thumb directory.
4) remove the extension .txt from last and add . in the start.
thats it , the android will get confused and will not create
this space eating huge index file again.