Skip to content

Commit

Permalink
chore: change separate process execution for low memory environment
Browse files Browse the repository at this point in the history
  • Loading branch information
RaczeQ authored Mar 6, 2024
1 parent bff99ad commit a2e8a83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quackosm/pbf_file_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -1370,7 +1370,7 @@ def _construct_ways_linestrings(
self._save_parquet_file(
relation=ways_with_linestrings,
file_path=destination_dir_path / f"group={group}",
run_in_separate_process=True,
run_in_separate_process=self.rows_per_bucket > PbfFileReader.ROWS_PER_BUCKET_MEMORY_CONFIG[0],
)
self._delete_directories(current_ways_group_path)

Expand Down

0 comments on commit a2e8a83

Please sign in to comment.