Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-4691

Keep Ring buffer size small by default and avoid starting disruptor for server connection

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.14.0, 5.0.0
    • 4.14.0, 5.0.0
    • None
    • None

    Description

      To avoid OOM on connections made with small JVM.

      Caused by: com.google.common.util.concurrent.ExecutionError: java.lang.OutOfMemoryError: GC overhead limit exceeded
      	at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2256)
      	at com.google.common.cache.LocalCache.get(LocalCache.java:3990)
      	at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4793)
      	at org.apache.phoenix.jdbc.PhoenixDriver.getConnectionQueryServices(PhoenixDriver.java:241)
      	at org.apache.phoenix.jdbc.PhoenixEmbeddedDriver.createConnection(PhoenixEmbeddedDriver.java:150)
      	at org.apache.phoenix.jdbc.PhoenixDriver.connect(PhoenixDriver.java:221)
      	at java.sql.DriverManager.getConnection(DriverManager.java:664)
      	at java.sql.DriverManager.getConnection(DriverManager.java:208)
      	at org.apache.phoenix.util.QueryUtil.getConnection(QueryUtil.java:390)
      	at org.apache.phoenix.util.QueryUtil.getConnectionOnServer(QueryUtil.java:369)
      	at org.apache.phoenix.util.QueryUtil.getConnectionOnServer(QueryUtil.java:359)
      	at org.apache.phoenix.coprocessor.MetaDataEndpointImpl.createTable(MetaDataEndpointImpl.java:1708)
      	... 9 more
      

      Attachments

        1. PHOENIX-4691.patch
          6 kB
          Ankit Singhal

        Activity

          People

            ankit@apache.org Ankit Singhal
            ankit@apache.org Ankit Singhal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: