How to keep file in memory and read it in other java program
<p>I have one huge data file . reading this file every time in memory is very time consuming. I want to keep this file always in memory ,like a process in background and my other java program can read it from memory on demand.
Can any one tell me how to do that</p>
