deyayo Posted July 11, 2011 Share 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 Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted July 11, 2011 Administrators Share 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now