Hi: I am investigating a Spring, Hibernate application performance issue. The application runs on Linux machine with Tomcat. We have server around 10 G JVM memory. (64 bit CPU). I use a script tool to check some operation memory usage. For one operation, it takes 2Mega - 40 Mega. Normal operation takes 2-4 mega. And we do not have so many users. Peak time, 1 minute has 49 operations. But the server is down every a couple of days and saying out of memory.
My questions is as follows:
1) Is every operation taking 2-4 M too big in our case?
2)The maximum operation (40M) loads 20,000 records from database. That is quite sure needing enhancement. But that alone is not a disaster to the server. Am I right?
3) MOST IMPORTANT: Are there some possibility that there is hibernate memory leak problem? Or our codes have memory leak problem? If so, are there some tool could check JVM's memory leak level?
Other comments on performance is also welcomed.