Skip to content
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

std::bad_alloc #2

Open
KunathBJ opened this issue Dec 15, 2017 · 12 comments
Open

std::bad_alloc #2

KunathBJ opened this issue Dec 15, 2017 · 12 comments

Comments

@KunathBJ
Copy link

Hello,

I'm trying to run Graph2Pro and I came into this issue:

Now read graph from file /mnt/users/benoitk/Graph2prot/Graph2Pro-master/assembly_graph.fastg
num edge to be allocated: -1645797128
num_vertex to be allocated: 1003373042
num_vertex actually extracted: 2
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
/var/tmp/slurmd/job8873338/slurm_script: line 19: 27773 Aborted (core dumped) $P3/./DBGraph2Pro -e $P0/assembly_graph.fastg -s $P0/contigs.fasta -o $P0/contig-pep.fasta

After a bit of google search, it seems that It might be a memory issues.
Could you confirm me that it's the case and if yes, do you know how much memory I should use?

Thank a lot!
Best regards,
Benoit

@lisujun
Copy link
Collaborator

lisujun commented Dec 15, 2017 via email

@KunathBJ
Copy link
Author

Hi Sujun,

The Graph file comes from Metaspades (i didn't process it in any way) and the size is 56Mb
I used a set of kmers: 21,33,55,77 and used the final contigs and graph file produced by Metaspades.

Thank you very much for your help!
Best,

Benoit

@KunathBJ
Copy link
Author

Hello,

Do you guys have an idea about that? Should I modify the graph somehow to be able to use it?
Best
Benoit

@lisujun
Copy link
Collaborator

lisujun commented Dec 19, 2017 via email

@KunathBJ
Copy link
Author

Hello,

Sure I can do that. Should I send that by email?
Thanks a lot

Benoit

@lisujun
Copy link
Collaborator

lisujun commented Dec 19, 2017 via email

@KunathBJ
Copy link
Author

Yes of course. But I thought I needed an e-mail to share the folder (couldn't find your e-mail though) or do you want me to put the link here?

Best,
Benoit

@lisujun
Copy link
Collaborator

lisujun commented Dec 19, 2017 via email

@KunathBJ
Copy link
Author

Sent!
Thanks a lot for the help

Ben

@lisujun
Copy link
Collaborator

lisujun commented Dec 19, 2017 via email

@maguileraf
Copy link

Were you able to fix this? I am trying to use this tool and ran into the same error.

@lisujun
Copy link
Collaborator

lisujun commented Apr 26, 2019 via email

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

No branches or pull requests

3 participants