From b463d9fa1a24403913d321e2310d1d03b37a2c4b Mon Sep 17 00:00:00 2001 From: jjospina Date: Fri, 2 Aug 2024 11:15:35 -0600 Subject: [PATCH] RM: unnecesarry GC.gc. --- src/core/base.jl | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/core/base.jl b/src/core/base.jl index 0c95ea7..62339df 100755 --- a/src/core/base.jl +++ b/src/core/base.jl @@ -301,9 +301,6 @@ function instantiate_model_decomposition( distro_systems_separated = _separate_pmd_circuits(pmitd_data["it"][_PMD.pmd_it_name]; multinetwork=multinetwork) pmitd_data["it"][_PMD.pmd_it_name] = distro_systems_separated - # Force call Garbage collector to reduce RAM usage - GC.gc() - # Correct the network data and assign the respective boundary number values. correct_network_data_decomposition!(pmitd_data; multinetwork=multinetwork) @@ -332,9 +329,6 @@ function instantiate_model_decomposition( # Set master optimizer JuMP.set_optimizer(optimizer.master, _SDO.Optimizer; add_bridges = true) - # Force call Garbage collector to reduce RAM usage - GC.gc() - # Get the number of subproblems number_of_subproblems = length(pmitd_data["it"][_PMD.pmd_it_name]) @@ -472,9 +466,6 @@ function instantiate_model_decomposition( distro_systems_separated = _separate_pmd_circuits(pmitd_data["it"][_PMD.pmd_it_name]; multinetwork=multinetwork) pmitd_data["it"][_PMD.pmd_it_name] = distro_systems_separated - # Force call Garbage collector to reduce RAM usage - GC.gc() - # Correct the network data and assign the respective boundary number values. correct_network_data_decomposition!(pmitd_data; multinetwork=multinetwork) @@ -503,9 +494,6 @@ function instantiate_model_decomposition( # Set master optimizer JuMP.set_optimizer(optimizer.master, _SDO.Optimizer; add_bridges = true) - # Force call Garbage collector to reduce RAM usage - GC.gc() - # Get the number of subproblems number_of_subproblems = length(pmitd_data["it"][_PMD.pmd_it_name])