Skip to content

Lockup/crash when deleting vertices #45

@andybak

Description

@andybak

Haven't found a consistent way to trigger this but it happens reasonably frequently.

OutOfMemoryException: Out of memory
System.Collections.Generic.List`1[T].set_Capacity (System.Int32 value) (at <eae584ce26bc40229c1b1aa476bfa589>:0)
System.Collections.Generic.List`1[T].EnsureCapacity (System.Int32 min) (at <eae584ce26bc40229c1b1aa476bfa589>:0)
System.Collections.Generic.List`1[T].InsertRange (System.Int32 index, System.Collections.Generic.IEnumerable`1[T] collection) (at <eae584ce26bc40229c1b1aa476bfa589>:0)
System.Collections.Generic.List`1[T].AddRange (System.Collections.Generic.IEnumerable`1[T] collection) (at <eae584ce26bc40229c1b1aa476bfa589>:0)
com.google.apps.peltzer.client.tools.Deleter.DeleteVertex (com.google.apps.peltzer.client.model.core.VertexKey vertexKey) (at Assets/Scripts/tools/Deleter.cs:239)
com.google.apps.peltzer.client.tools.Deleter.DeleteAPart () (at Assets/Scripts/tools/Deleter.cs:189)
com.google.apps.peltzer.client.tools.Deleter.ControllerEventHandler (System.Object sender, com.google.apps.peltzer.client.model.controller.ControllerEventArgs args) (at Assets/Scripts/tools/Deleter.cs:176)
com.google.apps.peltzer.client.model.controller.ControllerMain.ControllerEventHandler (System.Object sender, com.google.apps.peltzer.client.model.controller.ControllerEventArgs args) (at Assets/Scripts/model/controller/ControllerMain.cs:45)
com.google.apps.peltzer.client.model.controller.PeltzerController.DetectTrigger (com.google.apps.peltzer.client.model.controller.ControllerDevice controller) (at Assets/Scripts/model/controller/PeltzerController.cs:1099)
com.google.apps.peltzer.client.model.controller.PeltzerController.ProcessButtonEvents () (at Assets/Scripts/model/controller/PeltzerController.cs:525)
com.google.apps.peltzer.client.model.controller.PeltzerController.Update () (at Assets/Scripts/model/controller/PeltzerController.cs:473)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions