MemOpt #18
@@ -300,8 +300,10 @@ def menu_prepare_to_enforce():
|
|||||||
executionhist_policy1.to_parquet(f"parquet\\execution_history_{first_policy}.parquet", index=False)
|
executionhist_policy1.to_parquet(f"parquet\\execution_history_{first_policy}.parquet", index=False)
|
||||||
print(ct.colorText(f"Staging of Execution history for policy: {first_policy} is complete", "green"))
|
print(ct.colorText(f"Staging of Execution history for policy: {first_policy} is complete", "green"))
|
||||||
|
|
||||||
|
del data
|
||||||
del exe1
|
del exe1
|
||||||
del executionhist_policy1
|
del executionhist_policy1
|
||||||
|
os.remove("chunkinator.json")
|
||||||
gc.collect()
|
gc.collect()
|
||||||
|
|
||||||
if not os.path.exists(f"parquet\\execution_history_{second_policy}.parquet"):
|
if not os.path.exists(f"parquet\\execution_history_{second_policy}.parquet"):
|
||||||
@@ -318,7 +320,9 @@ def menu_prepare_to_enforce():
|
|||||||
print(ct.colorText(f"Staging of Execution history for policy: {second_policy} is complete", "green"))
|
print(ct.colorText(f"Staging of Execution history for policy: {second_policy} is complete", "green"))
|
||||||
|
|
||||||
del executionhist_policy2
|
del executionhist_policy2
|
||||||
|
del data2
|
||||||
del exe2
|
del exe2
|
||||||
|
os.remove("chunkinator.json")
|
||||||
gc.collect()
|
gc.collect()
|
||||||
|
|
||||||
if not os.path.exists(f"parquet\\combined_hashlist_{first_policy}_{second_policy}.parquet"):
|
if not os.path.exists(f"parquet\\combined_hashlist_{first_policy}_{second_policy}.parquet"):
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
{"error": "Success", "response": {"exechistories": []}}
|
||||||
Reference in New Issue
Block a user