Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-2986

StarGraph shall drop edge properties when dropping edges

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.6.5
    • 3.6.6, 3.7.1
    • process
    • None

    Description

      SparkGraphComputer uses StarGraph and StarGraph::StarVertex to represent vertices and edges. The StarGraph::StarVertex::dropEdges method drops unneeded edges, but it doesn't drop their edge properties, which are stored in another data structure (StarGraph::edgeProperties).

      In my use case, I only need edges with a certain label - yet all edge properties are loaded and never get dropped. With my local fix, the memory footprint used by the Spark program drops by more than 90%.

      Attachments

        Activity

          People

            colegreer Cole Greer
            li-boxuan Boxuan Li
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: