I need to open a huge file in GBs to be precise in java. Can this be done. I need to actually break the file in 4kb chunks and compress each chunk separately .

Can i do this in java. Will it create any memory out of bound error for the JVM.?

Recommended Answers

All 2 Replies

Thank you very much. That does give the methods. But what i really need to know is that would it give any issues if I open a file of may be 3-4 GB in size using fileinpustream or filereader.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.