Sanne Grinovero (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *commented* on HHH-14948 (
https://hibernate.atlassian.net/browse/HHH-14948?atlOrigin=eyJpIjoiOGFjOW...
)
Re: Metamodel imports cache increases indefinitely for dynamically generated HQL aliases
eventually leading to an OOM (
https://hibernate.atlassian.net/browse/HHH-14948?atlOrigin=eyJpIjoiOGFjOW...
)
The explanation is here:
https://github.com/hibernate/hibernate-orm/pull/4411#issuecomment-989304639 (
https://github.com/hibernate/hibernate-orm/pull/4411#issuecomment-989304639 ). As
mentioned, we could introduce a configurable threshold, if there’s evidence of this being
necessary. And if people ask nicely.
Generally speaking, I would suggest that if your map is growing so much, it would be
interesting to try to avoid the root cause. Are you generating many queries dynamicaly via
string manipulation? Why are all these tokens different? Or are you able to trigger this
in another way?
(
https://hibernate.atlassian.net/browse/HHH-14948#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-14948#add-comment?atlOrigin=ey...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100205- sha1:5460ff5 )