Hello, I am tryyin to use rTassel for Association analysis. I got the following error. Any solution please?
> pcaRes <- pca(tasGenoPheno)
Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, :
java.lang.OutOfMemoryError: Java heap space
Exception in thread "ForkJoinPool.commonPool-worker-53" > java.lang.OutOfMemoryError: Java heap space
pc
> options(java.parameters = c("-XX:+UseConcMarkSweepGC", "-Xmx100g"))
> pcaRes <- pca(tasGenoPheno)
Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, :
java.lang.OutOfMemoryError: Java heap space
> options(java.parameters = c("-XX:+UseConcMarkSweepGC", "-Xmx100g"))
> gc()
used (Mb) gc trigger (Mb) max used (Mb)
Ncells 8256459 441.0 14884471 795.0 11278128 602.4
Vcells 1409219198 10751.5
3642107926 27787.1 3553503958 27111.1
> options(java.parameters = c("-XX:+UseConcMarkSweepGC", "-Xmx100g"))
> gc()
used (Mb) gc trigger (Mb) max used (Mb)
Ncells 8254836 440.9 14884471 795.0 11278128 602.4
Vcells 1409216493 10751.5
3642107926 27787.1 3553503958 27111.1
> pcaRes <- pca(tasGenoPheno)
Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, :
java.lang.OutOfMemoryError: Java heap space