Skip to content

Update and extend support for memory limits and iterate on partial reads#371

Merged
eddelbuettel merged 10 commits intomasterfrom
de/sc-15132/memory_limit
Mar 1, 2022
Merged

Update and extend support for memory limits and iterate on partial reads#371
eddelbuettel merged 10 commits intomasterfrom
de/sc-15132/memory_limit

Conversation

@eddelbuettel
Copy link
Copy Markdown
Contributor

This PR updates and extends the support for setting memory limits. Its use is now per column and applied in the default retrieval for tiledb_array objects. It also extends array access to loop in case of incomplete data retrievals, reusing previously allocated buffers. This, along with a bug fix in one of the buffer allocation settings, allows for easier access to large arrays.

@shortcut-integration
Copy link
Copy Markdown

Copy link
Copy Markdown
Member

@aaronwolen aaronwolen left a comment

Choose a reason for hiding this comment

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

Awesome! I was able to read in the previously discussed array without issue! 🙏

@eddelbuettel
Copy link
Copy Markdown
Contributor Author

BTW if you want to monitor a little how it chunks uncomment line 486

#verbose <- getOption("verbose", FALSE)

and remove the # before a few of the if (verbose) that follow. It's quite nice to see.

@eddelbuettel eddelbuettel merged commit 98eda7b into master Mar 1, 2022
@eddelbuettel eddelbuettel deleted the de/sc-15132/memory_limit branch March 1, 2022 18:37
@eddelbuettel eddelbuettel mentioned this pull request Mar 25, 2022
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