Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-3497

OOME at slave during replication

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.4.1.3
    • 10.4.1.3
    • Replication
    • None
    • trunk at revision 633807

    Description

      After deleting and inserting more than 1 million records during replication, I got
      java.lang.OutOfMemoryError: Java heap space.

      The heap dump shows that almost the entire heap is byte arrays, and it seems most of them are referred to by ReplicationMessage objects. An inspection of the heap dump in VisualVM it seems that it is references rooted in SocketConnection#objInputStream that keeps them from being garbage collected.

      Attachments

        1. derby-3497-1a.stat
          0.1 kB
          Jorgen Loland
        2. derby-3497-1a.diff
          0.8 kB
          Jorgen Loland

        Activity

          People

            jorgenlo Jorgen Loland
            oysteing Oystein Grovlen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: