Skip to content

ConnectedComponents Orphaning Cached Dataframes #458

@james-willis

Description

@james-willis

Running connected components leaves dataframes cached in the spark runtime which can take up a substantial amount of memory when it is run many times. Specifically, the dfs in lastRoundPersistedDFs do not get cleaned up after convergence == true

Since the cached dataframe is not the one returned by the run method, the caller is unable to unpersist them without clearing all persisted dataframes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions