Comments (4)
Thanks for the bug report. Unfortunately I can't reproduce it. Can you reproduce it on a different file, or just this one? Regardless, can you please give me the input file? (e.g. https://transfer.sh)
I tried the following (on my machine and genocluster):
$ bin/dbgh5 -in ../test/db/microsnp.fa -kmer-size 12
[DSK: Collecting stats on microsnp ] 100 % elapsed: 0 min 0 sec remaining: 0 min 0 sec cpu: -1.0 % mem: [ 16, 16, 16] MB
[DSK: nb solid kmers found : 0 ] 100 % elapsed: 0 min 2 sec remaining: 0 min 0 sec cpu: 111.1 % mem: [ 223, 223, 223] MB B
EXCEPTION: This dataset has no solid kmers
and
seqtk seq ../test/db/reads3.fa.gz | head -n 2000 > 1000kreads.fa
$ bin/dbgh5 -in 1000kreads.fa
[DSK: Collecting stats on 1000kreads ] 100 % elapsed: 0 min 0 sec remaining: 0 min 0 sec cpu: 100.0 % mem: [ 28, 28, 28] MB
[DSK: Pass 1/1, Step 1: partitioning ] 27.3 % elapsed: 0 min 0 sec remaining: 0 min 0 sec cpu: 175.0 % mem: [ 93, 93, 93] MB
[etc.. running fine]
from gatb-core.
I have exactly the same problem with the microsnp dataset
$ bin/dbgh5 -in ../test/db/microsnp.fa -kmer-size 12
[DSK: Collecting stats on microsnp ] 100 % elapsed: 0 min 0 sec remaining: 0 min 0 sec cpu: -1.0 % mem: [ 17, 17, 17] MB
[DSK: Pass 1/1, Step 1: partitioning ] 0 % elapsed: 0 min 0 sec remaining: 0 min 0 sec cpu: -1.0 % mem: [ 46, 46, 75] MB
EXCEPTION: Pool allocation failed for 0 bytes (kmers alloc), mainbuffer is null?. Current usage is 16 and capacity is 5242881152
Pool allocation failed for 0 bytes (kmers alloc), mainbuffer is null?. Current usage is 32 and capacity is 5242881152
Pool allocation failed for 0 bytes (kmers alloc), mainbuffer is null?. Current usage is 48 and capacity is 5242881152
Pool allocation failed for 0 bytes (kmers alloc), mainbuffer is null?. Current usage is 64 and capacity is 5242881152
Pool allocation failed for 0 bytes (kmers alloc), mainbuffer is null?. Current usage is 80 and capacity is 5242881152
Pool allocation failed for 0 bytes (kmers alloc), mainbuffer is null?. Current usage is 96 and capacity is 5242881152
$ bin/dbgh5 -in ../test/db/microsnp.fa -kmer-size 12 -max-memory 1000
[DSK: Collecting stats on microsnp ] 100 % elapsed: 0 min 0 sec remaining: 0 min 0 sec cpu: 0.0 % mem: [ 17, 17, 17] MB
[DSK: nb solid kmers found : 0 ] 100 % elapsed: 0 min 0 sec remaining: 0 min 0 sec cpu: 105.3 % mem: [ 73, 73, 75] MB B
EXCEPTION: This dataset has no solid kmers
from gatb-core.
I see. Maybe the problem is limited to machines with 8GB of RAM. I'll keep this issue open and get back to it at some point.
from gatb-core.
Have recently committed a possibly related memory allocation fix:
e99c5d7
from gatb-core.
Related Issues (20)
- Setting install prefix HOT 6
- Depth-first search on a graph HOT 7
- missing parts of HDF5 HOT 3
- Could not find ZLIB HOT 2
- Segmentation fault when creating de Bruijn Graph HOT 1
- please create new release HOT 2
- compilation error with new version of AppleClang HOT 6
- problem with <boost/graph/adjacency_list.hpp> HOT 3
- printf messes with type of size_t HOT 1
- segmentation fault with the test code HOT 1
- Kmer size clarification HOT 2
- A different parallelisation granularity in GATB HOT 2
- Please tag release to allow compilation of minia HOT 1
- Help Wanted HOT 1
- Reading BAM files HOT 4
- -DNONCANONICAL doesnt work on osx?
- How to use Model Direct? HOT 1
- Tutorial links for videos and pdf are not responding
- Support for aarch64 / M1 macs? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gatb-core.