Increase heap size IGV 2.19.7 on MacOS

4 views
Skip to first unread message

Sheina Sim

unread,
2:51 AM (11 hours ago) 2:51 AM
to igv-help
Hello!

I am trying to load some large .bed files and I would like to increase the heap size.

I located the igv.jar file and ran:

java -jar -Xms2g -Xmx8g Contents/Java/lib/igv.jar


And I got this error:


Error: Unable to initialize main class org.broad.igv.ui.Main

Caused by: java.lang.NoClassDefFoundError: htsjdk/tribble/util/URLHelperFactory


I tried the browser, and ran into the same memory issue.


I also tried igv.js in a jypter instance but could not load a custom fasta. Is it possible to load a custom reference that is stored locally on igv.js?


Any advice on increasing heap size on my local machine?


Thanks!


igv-help

unread,
11:11 AM (3 hours ago) 11:11 AM
to igv-help
See https://github.com/igvteam/igv/blob/main/scripts/igv.sh,  or https://github.com/igvteam/igv/blob/main/scripts/igv.bat if on windows, and modify accordingly.   If you need more than 8 GB to load a file perhaps an indexed or bigbed format would work better.
Reply all
Reply to author
Forward
0 new messages