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

Huge memory usage by cyclestreets::batch_read #5

Open
mem48 opened this issue Sep 8, 2023 · 3 comments
Open

Huge memory usage by cyclestreets::batch_read #5

mem48 opened this issue Sep 8, 2023 · 3 comments

Comments

@mem48
Copy link

mem48 commented Sep 8, 2023

Looking into this. Part of the problem is the json from the commute routes is 10 GB out of the box.

results = RcppSimdJson::fparse(results_raw, query = "/marker", query_error_ok = TRUE, always_list = TRUE)

Takes an additional 8GB to run

@Robinlovelace
Copy link

I think that's a problem upstream in cyclestreets. Can we set it to ignore all the key-value pairs we're not interested in?

@Robinlovelace
Copy link

Seeing as this is a cyclestreets/cyclestreets-r issue, where the fix should be, I'm going to try to migrate it there...

@Robinlovelace Robinlovelace transferred this issue from nptscot/npt Sep 8, 2023
@Robinlovelace
Copy link

Heads-up @mem48 it's here now.

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

No branches or pull requests

2 participants