Class org.hibernate.engine.spi.EntityEntry consumes lots of memory

Description

The class

consumes a high amount of memory. I'm not referring to long-term memory, but since there is a high frequency of allocations of these, the cost of allocating all these objects is high.
(In a general purpose test which isn't working just on ORM we can accumulate ~200GB of memory of these in 25 minutes)

Very similar to HHH-8682, bot probably much harder to improve.

Environment

None

Activity

Show:
Gail Badner
July 16, 2014, 10:43 PM

Closing in preparation for releasing 4.3.6.

Gail Badner
July 16, 2014, 10:37 PM

Fixed in 4.3 branch.

Gail Badner
July 16, 2014, 10:37 PM

I only see commits for 4.3, so I removed 5.0.0 from Fix Versions.

Please open a new Jira issue for 5.0.0 if you intend to fix it for that version.

Thanks,
Gail

Emmanuel Bernard
July 11, 2014, 7:22 AM

Sorry I have overreacted a bit. I do see red when unnecessary red tape happens these days but here it's a bit complicated.

This issue should not have been marked resolved in the first place as it is still pending a push to master. Admittedly if the 4.2 backport resolution takes time (due to the perf team), it is probably easier to create a separate issue for it or reopen this one to add the version and close it again.

Gail Badner
July 11, 2014, 6:28 AM

The release has been delayed until Wednesday, so that gives us some time to get this fixed on the appropriate branches. Is it enough time?

I was under the impression that when an issue was Closed, that no more work would be commited for that issue. If any more work is required (including in a different branch), then it would be done in using a new Jira issue. I thought that was what we had agreed on. If not, this should be brought up on hibernate-dev mailing list.

I don't see a problem with using a new Jira issue if something ends up getting backported later to an earlier branch. As long as the Jira issues are linked, it's not difficult to follow.

Fixed

Assignee

Sanne Grinovero

Reporter

Sanne Grinovero

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Priority

Major