http://www.nikonchat.com/nikon-iso-auto/

nikon d40x not take so many photos?
I was able to take over 300 photos with my Nikon D40x. I have a 1g card. I'm not sure if the settings have changed but how do I recover it? At this point the picture settings are small 1936/1296 PM2.5, Normal JPEG qaulity, ISO auto, reduction of noise. As I was looking at the settings I have now decided to reformat the card that actually seemed to work. But why do not click on the establishment of others doing it?
Reformatting ensures that the card data and file structure (FAT data) are clean, if not format the card can not be corrupt, there is still that can cause problems such as errors in reading or writing sections of memory. Make sure you always format / format camera not on the computer
PDN/PhotoPlus Expo – Nikon D3