View Single Post
  #5 (permalink)  
Old 03-23-2008, 07:39 PM
jimnutt's Avatar
jimnutt
PPCGeeks Regular
Offline
Location: Central New York
 
Join Date: Jan 2007
Posts: 127
Reputation: 60
jimnutt is becoming a great contributor
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to jimnutt Send a message via MSN to jimnutt Send a message via Yahoo to jimnutt Send a message via Skype™ to jimnutt
Re: Storing camera pics on an SDHC card....memory error??

Here's the deal with the SD card and the camera (at least, what it looks like to me). It appears to me that the camera app is using a 32 bit integer to get the free space on the disk before it tries to write to the disk. Well, the problem is that the largest positive value you can store in a 32 bit int is 2 gb, so if you have more than 2 gb free on the card the value wraps negative and obviously negative space isn't sufficient to store an image... I suspect that on a larger (6 to 8 gb card) having between 4 and 6 gb of free space would work as well as the size would wrap twice. I have an 8 gb card and will give this a try. So basically, you want less than 2 gb of free space or between 4 and 6 gb of free space and it should work
Reply With Quote