Skip to content

Commit

Permalink
Remove memory map
Browse files Browse the repository at this point in the history
  • Loading branch information
orf committed Oct 20, 2024
1 parent ae52e64 commit 8187e57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pypi_data/combine_parquet.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ async def fill_buffer(
log.info(f"Failed to download {repo.dataset_url}")
continue
log.info(f"Downloaded, reading {path}")
table = pq.read_table(path, memory_map=True).combine_chunks()
table = pq.read_table(path, memory_map=False).combine_chunks()

for idx, batch in enumerate(table.to_batches(max_chunksize=2_500_000)):
batch: RecordBatch
Expand Down

0 comments on commit 8187e57

Please sign in to comment.