Skip to content

Conversation

@robert-vogel
Copy link
Contributor

We are having trouble scaling STITCH to our data, about 30K rats sequenced with low coverage. I've done some experiments on a small subset of our data and found that a simple update to the STITCH/R/writers.R code has some benefits (attached). The update simply forces the garbage collector to remove an R matrix from memory that will be overwritten between iterations of printing results to vcf file.
20251104-to_stitch_repo.pdf

…duce memory consumed by stitch when writing results to file.
@Zilong-Li Zilong-Li merged commit 3df32df into rwdavies:master Nov 4, 2025
6 checks passed
@Zilong-Li
Copy link
Collaborator

Nice catch! Thanks

@robert-vogel robert-vogel deleted the gc_update branch November 5, 2025 11:27
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