[
https://issues.apache.org/jira/browse/TINKERPOP-2986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17760098#comment-17760098
]
ASF GitHub Bot commented on TINKERPOP-2986:
-------------------------------------------
kenhuuu commented on PR #2212:
URL: https://github.com/apache/tinkerpop/pull/2212#issuecomment-1697935771
> > are these changes only needed in 3.7?
> > if so then VOTE +1
>
> I am not sure which branch I should target, so I set master at the moment.
Is 3.5 branch still being supported? If so, I could retarget this PR to 3.5
branch since it is technically a bug fix.
It seems like 3.5-dev is being phased out, so this can probably target
3.6-dev.
> StarGraph shall drop edge properties when dropping edges
> --------------------------------------------------------
>
> Key: TINKERPOP-2986
> URL: https://issues.apache.org/jira/browse/TINKERPOP-2986
> Project: TinkerPop
> Issue Type: Improvement
> Reporter: Boxuan Li
> Priority: Major
>
> 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%.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)