I\'ve developed a web application using the following tech stack:
`visualvm˙ is also a great tool for such purposes, you can connect to a remote JVM as well and see what's inside.
I suggest you doing this:
To eliminate your database you can monitor slow queries (and/or queries that are not using an index) using the slow query log see: http://dev.mysql.com/doc/refman/5.1/en/slow-query-log.html
I would hazard a guess that you have a missing index, and it has only become apparent as your data volumes have increased.