-
Notifications
You must be signed in to change notification settings - Fork 43
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 with --preload-size 80GB at 128GB #171
Comments
Not clear exactly what you were doing here, but the --preload-size option creates temporary files each time through the DB, and it might have run out of space because of those. Suggest you set --preload-size much smaller, perhaps 20GB, and try again. Then maybe 40GB and see if that works/runs faster. |
next Try 50GB [3521083.423618] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/user.slice/user-1000.slice/session-4362.scope,task=classifyExact,pid=889644,uid=1000 (base) internet@linux:/mnt/sdc1/jp$ free -h Now i try your recomodation. |
not sure (because I'm not looking at the code from where I am) but you used "50gb" and you might have to type it was "50G" or "50GB" to get krakenuniq to recognize the memory size. |
without -exact it is working with preload-size 50G . It seems it must be a Problem with the exact switch. Perhaps my $TMP is at a NTFS-Drive perhaps it is another handling from the write-access, because $TMP at NTFS is not the best idee, but i cant change it in the moment. |
Oh, I didn't notice that before - never use the "-exact" option please! We should get rid of it. It slows down KrakenUniq a lot, and we only added that feature because a reviewer insisted. But we never use it ourselves, haven't tested it very thoroughly, and we should just get rid of it. The approximate k-mer counting is extremely accurate and has never caused a problem. |
[3509557.600364] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/user.slice/user-1000.slice/session-4362.scope,task=classifyExact,pid=889353,uid=1000
[3509557.600388] Out of memory: Killed process 889353 (classifyExact) total-vm:851435484kB, anon-rss:118022716kB, file-rss:5888kB, shmem-rss:0kB, UID:1000 pgtables:1620464kB oom_score_adj:0
[3509564.767599] oom_reaper: reaped process 889353 (classifyExact), now anon-rss:596kB, file-rss:3680kB, shmem-rss:0kB
116GB reported bevor free
and it was the only one
The text was updated successfully, but these errors were encountered: