I solved my MD5 large file issue using PHP, but I would still like to know the input file size limits of the Generate digest command.
Using 4D’s PHP Execute, I generated an MD5 checksum on the same 687.7 MB movie file that the 4D Generate digest failed on due to not enough memory. Following is the code that I used (taken from the example in the PHP modules support in the 4D PHP documentation. C_TEXT($md5Result) $ok:=PHP Execute("";"md5";$md5Result;$AbsolutePath) David Belote Colorado Springs On 10/19/16, 8:08 AM, "4D_Tech on behalf of David Belote" <4d_tech-boun...@lists.4d.com on behalf of dbel...@transformatic.com> wrote: What is the maximum file size that the “Generate digest” command can process when computing an MD5 checksum? In my app, I want to allow the user to generate an MD5 checksum on any file of their choosing. The Generate digest command blows up with a “-108 Not enough space in memory error” when I try to generate an MD5 checksum on large files. If I can find out what the maximum file size that Generate digest can process, I can write an If check to keep the file from processing and just inform the user that the file is too large to process. It would also be useful to know what the file size limits are for SHA-1. Thanks, David Belote Colorado Springs ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com ********************************************************************** ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************