Archived Forum Post

Index of archived forum posts

Question:

Upload large file to Amazon S3

Sep 17 '14 at 16:14

Is it any method to upload large files to Amazon S3 without "Out of memory" error (problem exist with ActiveX and dll version)?

ChilkatLog:

S3_UploadFile:
DllDate: Jul 17 2014
ChilkatVersion: 9.5.0.41
UnlockPrefix: **
Username:
*
Architecture: Little Endian; 32-bit
Language: Delphi/C++ Builder XE2/XE3
VerboseLogging: 0
bucketName: **
objectName:
*

contentType: application/x-zip-compressed
localFilePath: *****
loadFileX:
Out of memory
fileSize: 1829624493
--loadFileX
Failed.
--S3_UploadFile
--ChilkatLog


Answer

Here's a new Delphi DLL build:

http://www.chilkatsoft.com/download/preRelease/chilkat-9.5.0-delphi.zip


Answer

We'll try to stream directly from the file as opposed to loading entirely into memory. This should be available in the next version (v9.5.0.44) -- unless unforeseen issues arise that push it further out -- in which case I'll respond here again.


Answer

This new build should fix the problem. The data is now streamed directly from the file when uploading rather than loading the file into memory first. Here are the download URLs:

C++ Builder 32-bit: http://www.chilkatsoft.com/download/preRelease/chilkat-9.5.0-bcc-xe2.zip

C++ Builder 64-bit: http://www.chilkatsoft.com/download/preRelease/chilkat-9.5.0-bcc-xe4.zip

(These are for C++ Builder XE2 and later and for C++ Builder XE4 and later)


Answer

Thank you very much. I would ask a dll version for Delphi XE6.