Bug 363747 - Copy resources in chunks
Summary: Copy resources in chunks
Status: NEW
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.5   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-14 15:51 EST by Ralf Sternberg CLA
Modified: 2011-11-14 15:51 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Sternberg CLA 2011-11-14 15:51:52 EST
Currently, the ResourceManager uses ResourceUtil#read and #write methods to copy files. This requires to read the entire contents of files into memory, which is a wast of memory and cycles. We could also add a util method that copies from an input stream to an output stream in chunks.