Community Member Profile
- Profile: /members/8799-Jay.htm
- URL: http://www.singsnap.com/jason
- Comments: 5
- Points: 54
Recent Blog Comments By Jay
-
Using ColdFusion To Stream Files To The Client Without Loading The Entire File Into Memory
Posted on Jun 27, 2012 at 2:07 PM
@Eric, So when *does* it release the heap? When the page completes execution?... read more »
-
Using ColdFusion To Stream Files To The Client Without Loading The Entire File Into Memory
Posted on Jun 27, 2012 at 12:56 PM
@Eric, Oops, meant GC on instream. When you instream.close() does it then reduce the heap?... read more »
-
Using ColdFusion To Stream Files To The Client Without Loading The Entire File Into Memory
Posted on Jun 27, 2012 at 12:54 PM
@Eric, Sorry, to be clear I meant split the file OUTSIDE this environment and read them sequentially. In *nix you'd use the SPLIT command. It splits a binary file into pieces. Then you'd execute your code as above, looped for each piece. For instance, you'd read 12 100MB files and 1... read more »
-
Using ColdFusion To Stream Files To The Client Without Loading The Entire File Into Memory
Posted on Jun 27, 2012 at 12:41 PM
@Eric, @Spencer Have you thought about slicing the large file up, and serving them sequentially? Seems like it would be a pretty trivial task. Get the overall file size, slice, read each slice and serve. You'd be releasing the file off the heap before reading the next slice. Just like... read more »
-
Using ColdFusion To Stream Files To The Client Without Loading The Entire File Into Memory
Posted on Aug 18, 2011 at 5:12 PM
Yes, it works just fine for me.... read more »



