Skip to content

Commit

Permalink
memtest no manual GC
Browse files Browse the repository at this point in the history
  • Loading branch information
aromanielloNTIA committed Apr 26, 2023
1 parent af36126 commit 665b496
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions scos_actions/actions/acquire_sea_data_product.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,6 @@ def generate_data_product(
# Explicitly call ray.put to pass filtered IQ to nested remote procs
iqdata_id = ray.put(iqdata)
del iqdata
gc.collect()

remote_procs = [
get_fft_results.remote(iqdata_id, params),
Expand Down Expand Up @@ -465,7 +464,6 @@ def __call__(self, schedule_entry, task_id):
logger.debug(f"Got all processed data in {result_toc-result_tic:.2f} s")

del dp_procs
gc.collect()

# Build metadata and convert data to compressed bytes
all_data = self.compress_bytes_data(np.array(all_data).tobytes())
Expand Down

0 comments on commit 665b496

Please sign in to comment.