There's a variety of reasons...
1. The memory card may be full.
Are you talking about photographs or video?
2. If it's photos, then the buffer may be full - if you are firing off shots very quickly, then the buffer will fill up. Learn to shoot more carefully.
3. If it's video, then there is a limit to how much video you can record in one go (normally it's 4GB on most dSLRs)
4. What brand of memory card are you using. Class 10 is meaningless if it's a cheap brand. You want to look at continuous speed, not burst. That's why most of us who take a lot of shots buy Sandisk Extreme or Lexar Pro cards - and never off eBay, as there are lots of fakes on there.
Some of the information on Rob Galbraith's website is a little out of date, but the general data is good - they may not have your particular camera, but here's the Canon 450D, which also takes SD cards:
http://www.robgalbraith.com/bins/camera_multi_page.asp?cid=6007-9424