Bandage icon indicating copy to clipboard operation
Bandage copied to clipboard

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

Open ekg opened this issue 8 years ago • 0 comments

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.

ekg avatar Nov 22 '17 10:11 ekg