Looks like the D3100 is a 14.2megapixel capture...so if you are only getting 17 images, you are probably shooting at least RAW and likely doing RAW+JPG?
RAW files on that size of a sensor I suspect would be around 17mb each. That's only 287mb. If you are also shooting JPGs, I don't think that...