Increase RAM in the Mac application & unloading read data

435 views
Skip to first unread message

Nick Brouwers

unread,
Feb 13, 2017, 5:51:21 AM2/13/17
to igv-help
Hi,

Is there a way to increase the RAM higher than 8GB (to for instace 32GB)?

Besides that, since my limitation is now stuck at 8GB, the program often crashes when I use multiple BAM files where I view regions of 48 kb and also scroll through chromosomes.
The read data quickly adds up to 7-8GB of RAM data but does not seem to unload reads that are out of the viewing range. Any tips/tricks would be very helpful.

Thx!

James Robinson

unread,
Feb 13, 2017, 12:20:36 PM2/13/17
to igv-help
Hi, what version of IGV are you using?


--

---
You received this message because you are subscribed to the Google Groups "igv-help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to igv-help+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/igv-help/9e8ded3b-d517-4f3e-af78-803d13faa207%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Nick Brouwers

unread,
Feb 16, 2017, 5:38:03 AM2/16/17
to igv-help
Version 2.3.90

Op maandag 13 februari 2017 18:20:36 UTC+1 schreef Jim Robinson:
Hi, what version of IGV are you using?

On Mon, Feb 13, 2017 at 2:51 AM, Nick Brouwers <nickbro...@gmail.com> wrote:
Hi,

Is there a way to increase the RAM higher than 8GB (to for instace 32GB)?

Besides that, since my limitation is now stuck at 8GB, the program often crashes when I use multiple BAM files where I view regions of 48 kb and also scroll through chromosomes.
The read data quickly adds up to 7-8GB of RAM data but does not seem to unload reads that are out of the viewing range. Any tips/tricks would be very helpful.

Thx!

--

---
You received this message because you are subscribed to the Google Groups "igv-help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to igv-help+u...@googlegroups.com.

Stan M

unread,
Feb 17, 2017, 8:46:22 PM2/17/17
to igv-help
The original plist contained in the app package contents has a couple errors in it.  The maximum heap option (-Xmx4g) and the -Xdock:name=IGV were contained within the JVMArguments section of the plist file.  This caused an error when the application was launched as they are not arguments, but options for the JVM.  Moving these options under the JVMOptions section corrected the memory allocation issue.  With the original error, the maximum heap size was not extended to 4G. Moving the -Xmx4g option under the JVMOptions section did extend the max heap size to 4G.  On machines with larger memories, you don't see the issue since the default max heap is 1/4 of the physical memory which is usually enough to run the program successfully.

Stan Manoski

unread,
Feb 17, 2017, 8:57:40 PM2/17/17
to igv-help
Once these changes are made to the plist file, you can adjust the max heap size to a larger value to meet your needs (e.g. -Xmx16G).

Stan Manoski

unread,
Feb 17, 2017, 9:24:37 PM2/17/17
to igv-help
Also, note that once the heap exceeds physical memory, paging out to disk comes into play which is something you really want to avoid. Thrashing could occur during the garbage collection process within the JVM and your app will slow down significantly. Not a good thing.

James Robinson

unread,
Feb 17, 2017, 11:38:16 PM2/17/17
to igv-help
Stan,  thanks,  could you post the corrected plist file?

To unsubscribe from this group and stop receiving emails from it, send an email to igv-help+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/igv-help/92c4213b-dfe0-495e-901e-fe66709d175a%40googlegroups.com.
Message has been deleted

James Robinson

unread,
Feb 18, 2017, 1:29:18 AM2/18/17
to igv-help
Yes, thanks.  The plist file is generated with some Oracle utility,  possibly out of date,  I will see if I can update it or perhaps script the packaging manually.

On Fri, Feb 17, 2017 at 10:16 PM, Stan Manoski <sjma...@gmail.com> wrote:
Sure. Hope this helps.

--

---
You received this message because you are subscribed to the Google Groups "igv-help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to igv-help+unsubscribe@googlegroups.com.

Stan Manoski

unread,
Feb 18, 2017, 1:33:29 AM2/18/17
to igv-help
Sure. After you download this file, rename it to Info.plist  

On Friday, February 17, 2017 at 11:38:16 PM UTC-5, Jim Robinson wrote:
Info.plist.txt
Reply all
Reply to author
Forward
0 new messages