Attachments

I attempted to upload a .pdf file to attach to a post. It was well below the allowed size, but I got a message saying that my allotment had been exceeded and the upload was canceled. Can someone explain?
Thanks