Hai friends,

Is it possible to recover from OutOfMemoryError? I am retriving data from files as well as from databases. I am storing all the data in vectors. while creating vectors to store data, i am getting this error. I am getting this error for just 2MB files only. How can i tell to VM to use Virtual Memory?

Please help me if there is any other solution for my problem?