java.lang.OutOfMemoryError: Java heap space

GitHub | autoasm | 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.

Root Cause Analysis

  1. java.lang.OutOfMemoryError

    Java heap space

    at scalaz.DList$.fromList()
  2. Scalaz
    TraverseOps.sequence
    1. scalaz.DList$.fromList(DList.scala:78)
    2. scalaz.std.ListInstances$$anon$1.traverseImpl(List.scala:66)
    3. scalaz.std.ListInstances$$anon$1.traverseImpl(List.scala:14)
    4. scalaz.Traverse$Traversal.run(Traverse.scala:50)
    5. scalaz.Traverse$class.sequence(Traverse.scala:101)
    6. scalaz.std.ListInstances$$anon$1.sequence(List.scala:14)
    7. scalaz.syntax.TraverseOps.sequence(TraverseSyntax.scala:27)
    7 frames
  3. uk.gov.nationalarchives
    AllErrorsMetaDataValidator$$anonfun$1.apply
    1. uk.gov.nationalarchives.csv.validator.AllErrorsMetaDataValidator$class.rulesForCell(AllErrorsMetaDataValidator.scala:62)
    2. uk.gov.nationalarchives.csv.validator.api.CsvValidator$$anon$2.rulesForCell(CsvValidator.scala:32)
    3. uk.gov.nationalarchives.csv.validator.MetaDataValidator$class.validateCell(MetaDataValidator.scala:275)
    4. uk.gov.nationalarchives.csv.validator.api.CsvValidator$$anon$2.validateCell(CsvValidator.scala:32)
    5. uk.gov.nationalarchives.csv.validator.AllErrorsMetaDataValidator$$anonfun$1.apply(AllErrorsMetaDataValidator.scala:44)
    6. uk.gov.nationalarchives.csv.validator.AllErrorsMetaDataValidator$$anonfun$1.apply(AllErrorsMetaDataValidator.scala:42)
    6 frames
  4. Scala
    List.map
    1. scala.collection.immutable.List.map(List.scala:273)
    1 frame
  5. uk.gov.nationalarchives
    MetaDataValidator$$anonfun$11.apply
    1. uk.gov.nationalarchives.csv.validator.AllErrorsMetaDataValidator$class.rules(AllErrorsMetaDataValidator.scala:42)
    2. uk.gov.nationalarchives.csv.validator.api.CsvValidator$$anon$2.rules(CsvValidator.scala:32)
    3. uk.gov.nationalarchives.csv.validator.MetaDataValidator$class.validateRow(MetaDataValidator.scala:235)
    4. uk.gov.nationalarchives.csv.validator.api.CsvValidator$$anon$2.validateRow(CsvValidator.scala:32)
    5. uk.gov.nationalarchives.csv.validator.AllErrorsMetaDataValidator$class.validateRows$1(AllErrorsMetaDataValidator.scala:30)
    6. uk.gov.nationalarchives.csv.validator.AllErrorsMetaDataValidator$class.validateRows(AllErrorsMetaDataValidator.scala:35)
    7. uk.gov.nationalarchives.csv.validator.api.CsvValidator$$anon$2.validateRows(CsvValidator.scala:32)
    8. uk.gov.nationalarchives.csv.validator.MetaDataValidator$$anonfun$11.apply(MetaDataValidator.scala:186)
    9. uk.gov.nationalarchives.csv.validator.MetaDataValidator$$anonfun$11.apply(MetaDataValidator.scala:150)
    9 frames
  6. resource
    AbstractManagedResource$$anonfun$5.apply
    1. resource.AbstractManagedResource$$anonfun$5.apply(AbstractManagedResource.scala:86)
    1 frame
  7. Scala
    Exception$Catch.either
    1. scala.util.control.Exception$Catch$$anonfun$either$1.apply(Exception.scala:125)
    2. scala.util.control.Exception$Catch$$anonfun$either$1.apply(Exception.scala:125)
    3. scala.util.control.Exception$Catch.apply(Exception.scala:103)
    4. scala.util.control.Exception$Catch.either(Exception.scala:125)
    4 frames
  8. resource
    DeferredExtractableManagedResource.either
    1. resource.AbstractManagedResource.acquireFor(AbstractManagedResource.scala:86)
    2. resource.DeferredExtractableManagedResource.either(AbstractManagedResource.scala:29)
    2 frames
  9. uk.gov.nationalarchives
    CsvValidator$$anon$2.validateKnownRows
    1. uk.gov.nationalarchives.csv.validator.MetaDataValidator$class.validateKnownRows(MetaDataValidator.scala:189)
    2. uk.gov.nationalarchives.csv.validator.api.CsvValidator$$anon$2.validateKnownRows(CsvValidator.scala:32)
    2 frames