java.lang.OutOfMemoryError: Java heap space

microsoft.com | 9 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

    Java heap space problem when querying Work Items from large collections.

    microsoft.com | 9 months ago
    java.lang.OutOfMemoryError: Java heap space

    Root Cause Analysis

    1. java.lang.OutOfMemoryError

      Java heap space

      at com.microsoft.tfs.core.clients.workitem.internal.rowset.DBRowSetHandler.handleRow()
    2. com.microsoft.tfs
      WorkItemClient.precacheData
      1. com.microsoft.tfs.core.clients.workitem.internal.rowset.DBRowSetHandler.handleRow(DBRowSetHandler.java:224)
      2. com.microsoft.tfs.core.clients.workitem.internal.rowset.RowSetParser.parseIndividualRow(RowSetParser.java:340)
      3. com.microsoft.tfs.core.clients.workitem.internal.rowset.RowSetParser.parseRows(RowSetParser.java:270)
      4. com.microsoft.tfs.core.clients.workitem.internal.rowset.RowSetParser.parse(RowSetParser.java:128)
      5. com.microsoft.tfs.core.clients.workitem.internal.metadata.Metadata$3.performTask(Metadata.java:415)
      6. com.microsoft.tfs.core.internal.db.ConnectionPool.executeWithPooledConnection(ConnectionPool.java:80)
      7. com.microsoft.tfs.core.clients.workitem.internal.metadata.Metadata.updateMetadata(Metadata.java:353)
      8. com.microsoft.tfs.core.clients.workitem.internal.metadata.Metadata.update(Metadata.java:540)
      9. com.microsoft.tfs.core.clients.workitem.internal.metadata.Metadata.update(Metadata.java:490)
      10. com.microsoft.tfs.core.clients.workitem.internal.WITContext.<init>(WITContext.java:109)
      11. com.microsoft.tfs.core.clients.workitem.WorkItemClient.getContext(WorkItemClient.java:423)
      12. com.microsoft.tfs.core.clients.workitem.WorkItemClient.precacheData(WorkItemClient.java:340)
      12 frames
    3. com.dell.ems
      Main.main
      1. com.dell.ems.TFSWorkItemSample.Main.main(Main.java:92)
      1 frame