-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
Out-of-memory issues with large tsv-file #19
Comments
Hi @Hoeze, how big is the file ? csview needs to load the entire file into memory to compute alignment. Fow now the easiest way to avoid oom on too large files is to filter the data you focus on then feed them into csview: preview first 10,000 lines:
preview lines between 100 and 200:
|
I see, thanks for the explanation @wfxr. One solution could be to calculate alignment on the first 10,000 lines.
|
@Hoeze Unfortunately the crate |
Check list
Environment info
Version
csview 0.3.6
Problem / Steps to reproduce
First of all, thanks for this very nice and useful tool.
I'd like to view a large TSV-type file but it dies because of out-of-memory.
Steps to reproduce:
wget https://storage.googleapis.com/gcp-public-data--gnomad/release/2.1.1/vcf/exomes/gnomad.exomes.r2.1.1.sites.1.vcf.bgz
zcat "gnomad.exomes.r2.1.1.sites.1.vcf.bgz" | grep -v "^##" | csview -t | less -S
Would it be possible to limit
csview
's memory usage and make it play nicely withless
?The text was updated successfully, but these errors were encountered: