[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3769?page=c...
]
Josh Moore commented on HHH-3769:
---------------------------------
Still present in 3.5.6. Primarily an issue when queries are generated by users via string
formatting. Since our server provides the HQL interface directly to users, a relatively
small number of calls (I did it with 20K calls of 10K bytes) brought down the server.
Enabling jmx statistics cause OOM
---------------------------------
Key: HHH-3769
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3769
Project: Hibernate Core
Issue Type: Bug
Affects Versions: 3.2.0.ga
Reporter: Sid
It looks like when org.hibernate.jmx.StatisticsService.statisticsEnabled=true all query
strings get logged to org.hibernate.stat.StatisticsImpl.queryStatistics.
There is a clear method in org.hibernate.stat.StatisticsImpl that reset all statistics
but i don't see this method being called other than when some one calls
org.hibernate.jmx.StatisticsService.clear()
As queryStatistics is a HasMap this will causes OOM.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira