Skip to content

Commit

Permalink
garbage clean for memory
Browse files Browse the repository at this point in the history
  • Loading branch information
jiang548 committed May 5, 2022
1 parent 2413d05 commit f190fe2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions script/netvis/sub_summary.R
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,6 @@ for(i in 1:ntop){
visSave(vis_g_top[[i]], paste(Sys.getenv("resv"), "_top", i, "_", name, ".html", sep=""), selfcontained=F)

## end information
gc()
}

1 change: 1 addition & 0 deletions script/netvis/tot_summary.R
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,4 @@ net_number <- length(unique(comp))
vertex_number <- length(V(g_bs))
edge_number <- length(E(g_bs))

gc()

0 comments on commit f190fe2

Please sign in to comment.