rrwick / Bandage

a Bioinformatics Application for Navigating De novo Assembly Graphs Easily
http://rrwick.github.io/Bandage/
GNU General Public License v3.0
586 stars 98 forks source link

out of memory when writing svg, blank output when writing png #56

Open ekg opened 6 years ago

ekg commented 6 years ago

I'm attempting to generate an image for a moderate-sized graph. I've stripped the sequences out to try to make it easier.

I was able to render the graph on my laptop, but Bandage crashed when trying to save the image as an svg. I moved to a remote server but it seems like the problem persists:

-> % time Bandage image cerevisiae.no_seqs.gfa cerevisiae.no_seqs.gfa.svg
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
[2]    24897 abort      Bandage image cerevisiae.no_seqs.gfa cerevisiae.no_seqs.gfa.svg
Bandage image cerevisiae.no_seqs.gfa cerevisiae.no_seqs.gfa.svg  2140.16s user 31.24s system 99% cpu 36:12.28 total

Writing a .png seems to result in a blank image of the correct size but no error.

I'm happy to share the graph.