Problem to convert large Bitmap to JPeg

 If I want to convert a large Bitmap (1600X1200) to JPeg I'll getting the
following message "Error #36". meaning cstrJERR_FILE_WRITE or in other words
'Output file write error --- out of disk space?'
 Does anybody now how I can solve this problem?
  I use the following routine. Only if I set the compressionQuality to 100
the problem appears.

       jp := TJpegImage.Create;
       jp.ProgressiveEncoding := false;
       jp.CompressionQuality := 100;

Thanks in advance.