2
나는 디스크로 대용량 데이터를 작성해야합니다, 그래서 FileStream.openAsync()
를 사용FileStream에서 BufferSize를 설정할 수 있습니까?
this.file_stream = new FileStream();
this.file_stream.openAsync(fl, FileMode.WRITE);
//Write large get from database
while(i < 10240000) {
this.file_stream.write(bigDatas)
i = i + 1;
}
그리고 앱이 ('dmesg 명령'에서 메시지 복사) 리눅스 kenkel에 의해 살해 :
사망 과정 4267 (MyFlex) 총-VM : 1282708kB, 곧-RSS : 863176kB, 파일 RSS : 756kB
그래서하여 FileStream에서 버퍼 크기를 설정할 수있는 방법이있다?
것은이 그렇지 읽기, 쓰기에 대한 우려에도 불구하고, 유용 할 수 있습니다 : http://stackoverflow.com/questions/2321951/as3-working-with-arbitrarily-large-files – altschuler