) If for any reason the application closed unexpectedly (e.g. power cut, application crash, JVM crash, OS crash etc...) then the data held in memory would be lost.
2) Although the database size starts very small we have no indication of the projected growth and so reading the entire file into memory may require large heap sizes as the DB grows.
Darren Dimaapi wrote:I tried writing my db class having an instance variable of "RAF" the first time, but I realized it was leading to a complex code.
Darren Dimaapi wrote:I know its too late but let me thank all of you who contributed to the scjd forum,
especially to our bartenders you Roel and Robert Surely, it
would be very hard for me without your inputs.