Please see this example when i am taking small file then it works but
when taking large video size with 1gb approx then outofmemory error
import java.io.*;
public class ReadFileByteArray {
public static void main(String[] args) {
//create file object
File file = new
here i am taking video file for read byte the error byte arry outofmemory
On Fri, Sep 2, 2011 at 12:13 PM, Naveen kumarnaveen.si...@gmail.com wrote:
Please see this example when i am taking small file then it works but
when taking large video size with 1gb approx then outofmemory error
Look up examples on stream reading a file for java.
The problem is you are allocating an extremely large byte array.
On Thu, Sep 1, 2011 at 11:51 PM, NaveenShrivastva
kumarnaveen.si...@gmail.com wrote:
here i am taking video file for read byte the error byte arry outofmemory
On Fri, Sep 2,
Yes i understanding this issue large byte array size overflow how
handle here.give me way please or perfect url
On Fri, Sep 2, 2011 at 12:24 PM, Miguel Morales therevolti...@gmail.com wrote:
Look up examples on stream reading a file for java.
The problem is you are allocating an extremely
4 matches
Mail list logo