0 Replies Latest reply on Oct 2, 2013 12:22 AM by NightYM

    How to save large file in Flex?



      We have a flash web application that using FileReference to save file to local.

      The file is large (over than 100MB) and all the content is text. The content is composed dymanically at runtime. Since the API of FileReference is

      public function save(data:*, defaultFileName:String = null):void

      we have tried to use String/ByteArray/Defined Object to be the type of data parameter.

      The result is, it turns out that we can not allocate a contiguous memory space as large as more than 100MB. Once reach that size, the flash player crashed because of out of memory.

      Is this a flex memory limitation or not? If so, is there any work around to download file more than 100MB? Thank you in advance.


      Best Regards,