java.lang.OutOfMemoryError: GC overhead limit exceeded

Stack Overflow | morfious902002 | 10 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Least GC consuming way to convert double to String without E and 10 digit precision

    Stack Overflow | 10 months ago | morfious902002
    java.lang.OutOfMemoryError: GC overhead limit exceeded

    Root Cause Analysis

    1. java.lang.OutOfMemoryError

      GC overhead limit exceeded

      at java.math.MutableBigInteger.divideMagnitude()
    2. Java RT
      BigDecimal.setScale
      1. java.math.MutableBigInteger.divideMagnitude(MutableBigInteger.java:1489)
      2. java.math.MutableBigInteger.divideKnuth(MutableBigInteger.java:1227)
      3. java.math.MutableBigInteger.divide(MutableBigInteger.java:1153)
      4. java.math.MutableBigInteger.divide(MutableBigInteger.java:1147)
      5. java.math.BigDecimal.divideAndRound(BigDecimal.java:4326)
      6. java.math.BigDecimal.setScale(BigDecimal.java:2470)
      6 frames