Hi All,
When i start the tomcat,I am getting heap exception(out of memory) .
Recently i have made the following modifications before this its working fine.
i am using spring and hibernate in my application.
1. I added some 15 hbm mapping files(total 36) to the application. i added these entries in the appliction-context.xml.
after this when i start the application i got the out of memory error.
i resolved this with the following changes , but it should work fine without these changes.
1.If i increase the heap memory in tomcat server.xml its working fine without giving any error. but in the production server we cannot change server memory settings , with default memory only it should work fine.
2. I added some hbm files(total 32) in the application-context.xml then the application working fine.
Regards,
Vishnu.


Reply With Quote