I am trying to load a bunch of pretty-heavy gff3 files to IGV. The machine is a Windows10 one, with 16GB RAM.
All gff files are zipped and indexed, but still loading the files kills IGV - it is just loading forever, unable to display anything.
I've tried reducing the visibility range to 20kb, but this simply resulted in IGV getting stuck when I zoom in.
I suspect that the issue is memory allocation. Is there a way to tell IGV to take up more memory? It looks like by default it only takes 1.2GB. Or any other idea on how to get this to work?
I ran into this issue too, so although this question was already answered, I would like to put the solution here, as this is the first page that came up in Google.
According to the readme included with IGV, you can edit the file at:
Mac and Linux:
You just need to remove the pound sign (#) from the beginning of the line with the
-Xmx argument, like so:
If you would like, you can even increase the
8g to something larger, like
12g if your computer has enough RAM. I would recommend leaving a few GB of RAM for your operating system, as you don't want to use memory it needs and cause a crash.