Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEAT: Improve memory usage of ingestion app - add new devgreen sources to ingest #487

Open
wants to merge 50 commits into
base: main
Choose a base branch
from

Conversation

huangh
Copy link
Contributor

@huangh huangh commented Mar 13, 2025

huangh added 30 commits March 7, 2025 09:50
…ified yield_check to yield at max total nbytes of table rather than a number of rows. added config argument to pass through multi-process flag and configuration flags
…30gb. but i'm no expert. going down to 1 to test
…ich is unnecessary - only to save pq file size

if config["multiprocessing"]:

with get_context("spawn").Pool(processes=4, maxtasksperchild=1) as pool:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this needs to be set to ncpu, which for our containers is 4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants