Yes. I knew that minimum is not a big consideration.
The reason why im using CharBuffer is , using this im matching a particular
string n no of times.
My code is follows
After Execution of above code i m getting
a part of CharSequence from the above
CharBuffer for another search(again Matching process).
So i thought that, for these process(file read and matching process) if i use
CharBuffer then it will be faster as well.
So Guide me How to overcome
HeapSpace Memory Problem.
Is there any other way to read and matching process in efficient way ??
i remember you that file size is more.