Menu

#39 Freeze after "Travel To Alpha Base ending at Disembarking ", findAmountResource() running

3.07
closed
2017-01-20
2015-01-08
manny kung
No

Tested on pre-3080

  1. I reloaded a sim that was saved earlier.

  2. After running for 6 min, the sim freezes as soon as it comes back from a excursion.

  3. I've noticed the freeze occurs at that instant for a couple times in the past.

Jan 8, 2015 1:10:10 PM INFO org.mars_sim.msp.core.person.ai.mission.Mission Regolith Prospecting ending at Disembarking due to Successfully disembarked.
Jan 8, 2015 1:10:18 PM INFO org.mars_sim.msp.core.person.ai.mission.Mission Travel To Alpha Base ending at Disembarking due to Successfully disembarked.

  1. On a side note, there is a NullPointerException on the EDT on the trace stack as soon as I reloaded the saved sim. It was pointing to the timer codes of the status bar of the Settlement Map Tool in SettlementWindow.java. Despite the NullPointerException, the simulation continued without problem and the timer display is running on the status bar. I'll look into the cause.

  2. In VisualVM, the findAmountResource() and pickAMeal() are being "highlighted". see attached

5 Attachments

Discussion

  • manny kung

    manny kung - 2015-01-08

    See also attached memory snapshot.

    The following 3 are using 92% of the memory. Don't know if it tells us anything.

    java.util.TreeMap$KeyIterator
    java.util.Collections$UnmodifiableCollection$1
    java.util.Collections$UnmodifiableSet

     
  • manny kung

    manny kung - 2017-01-20
    • status: open --> closed
    • assigned_to: manny kung
     
  • manny kung

    manny kung - 2017-01-20

    This was an old, resolved issue. The freeze was most likely due to the infinite while loop in pickAMeal().

     

Log in to post a comment.