deyayo Posted July 11, 2011 Posted July 11, 2011 Hello, I am testing Unigui file upload feature. I have noticed that when a file is being uploading, the server memory consumption is increasing regarding the file size. It seems like all the file is firstly loaded in memory (RAM) and then written on the server disk. Am I wrong ? Is the a way I can use a FileStream to write directly on the disk? Thank you for your time. I appreciate your work. Marcel Quote
Administrators Farshad Mohajeri Posted July 11, 2011 Administrators Posted July 11, 2011 Hello, Memory usage is temporary. File is received in a HTTP stream which is a memory buffer. After file is received, it is saved in a TFileStream and all memory buffers are freed. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.