Hi everyone,
I was wondering if anyone could help me. There is a
servlet that creates employee's and stores their details, working hrs, address, payment details etc in a database.
When the servelt was tested to handle 20 users concurrently accessing it, it fell over after about 10 users, because it did not have enought memory. I am still new in the servlet business so I am not sure if I understod the problem properly, but as far as I know the problem is that too many objects were created which caused the garbage collector to go absolutely mad trying to reclaim memory in the background. So now I was asked to come up with a solution to replace statments like Employee emp = new Employee(session, ....).
Can anyone suggest an easy and quick solution
? THanks for anybodies help.
K