Friday, July 1, 2011

R max-vsize and Haploview memory

Use command line options to control the memory available for R.

R --min-vsize=vl --max-vsize=vu --min-nsize=nl --max-nsize=nu --max-ppsize=N

vl, vu, vsizeHeap memory in bytes.
nl, nu, nsizeNumber of cons cells.
NNumber of nested PROTECT calls.

Both options must be integers or integers followed by G, M, K, or k meaning Giga (2^{30} = 1073741824) Mega (2^{20} = 1048576), (computer) Kilo (2^{10} = 1024), or regular kilo (1000).

R --max-vsize=3G   ### 3G, R max

java -jar Haploview.jar -memory 4000 ### 4G memory

No comments:

Post a Comment