Hibernate ORM
  1. Hibernate ORM
  2. HHH-8682

org.hibernate.engine.spi.EntityKey consumes a lot of memory

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.0.CR1, 4.2.8
    • Component/s: core
    • Labels:
    • Last commented by a user?:
      true

      Description

      We should explore ways to get

      org.hibernate.engine.spi.EntityKey

      to consume less memory.
      On a high end server Hibernate allocated 200GB of instances of this EntityKey in just 25 minutes.
      Good news is that they are short lived, but still we could shave something off?

        Issue Links

          Activity

          Hide
          Steve Ebersole added a comment -

          Let's chat about this on IRC

          Show
          Steve Ebersole added a comment - Let's chat about this on IRC
          Hide
          Sanne Grinovero added a comment -

          Ok. I hope to make a prototype patch, if that works out we can discuss from that.

          Show
          Sanne Grinovero added a comment - Ok. I hope to make a prototype patch, if that works out we can discuss from that.
          Hide
          Steve Ebersole added a comment -

          Sanne, per our discussions I just added the 2 related follow up Jiras. With regard to HHH-8703, can you point out what would change after i remove that?

          Show
          Steve Ebersole added a comment - Sanne, per our discussions I just added the 2 related follow up Jiras. With regard to HHH-8703 , can you point out what would change after i remove that?
          Hide
          Sanne Grinovero added a comment -

          Thanks Steve!
          I've commented on that issue, made the changes as a patch which you can fetch from my github repo.

          Show
          Sanne Grinovero added a comment - Thanks Steve! I've commented on that issue, made the changes as a patch which you can fetch from my github repo.
          Hide
          Sanne Grinovero added a comment -

          opening just for re-labelling

          Show
          Sanne Grinovero added a comment - opening just for re-labelling

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development