Michael Mol
2009-02-04 06:33:46 UTC
Recently my MFC application is giving a strange error
System error code 1816
"Not enough quota is available to process this command."
one of the functionality of the program is hash ( MD5 and SHA1 ) the
incoming file , copy the file ,
hash ( MD5 and SHA1 ) it again , see if both hashes matches .
when i turn this feature off the error doesn't reproduce . i am hashing the
content .
Any idea why such issues comes ?
The memory foootprint of the program was 27 MB at the time of error ..
Very likely, you're exceeding the disk quota of the user with yourSystem error code 1816
"Not enough quota is available to process this command."
one of the functionality of the program is hash ( MD5 and SHA1 ) the
incoming file , copy the file ,
hash ( MD5 and SHA1 ) it again , see if both hashes matches .
when i turn this feature off the error doesn't reproduce . i am hashing the
content .
Any idea why such issues comes ?
The memory foootprint of the program was 27 MB at the time of error ..
file copy. It sounds like this is a data archival/backup feature.
Essentially, your target volume has run out of disk space the computer
(or network server) is willing to allot to your user. Suggested
solutions: Compress your data prior to storing it on the archival
target (You can use streaming decompression to check the integrity of
the data, or you can pass a copy of the data through your hash
function as you feed the compression algorithm for the archived
file.), periodically purge old archived data, reduce the amount of
data you're archiving, or get a bigger disk quota. Or all three.