java out of memory error through beagle for imputation
1
0
Entering edit mode
10 months ago
analyst ▴ 60

I am running beagle for imputation using following command:

   java -jar ~/Downloads/beagle.28Jun21.220.jar gt=merged_filtered_sorted_snps.vcf out=merged_snps_imputed.vcf nthreads=80

But got following error:

Window 5 [NC_068558.1:554-40000445] Reference markers:
401,104 Study markers: 401,104 java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: Java heap space

beagle imputation java • 702 views
ADD COMMENT
4
Entering edit mode
10 months ago
analyst ▴ 60

Resolved by increasing heapsize of -Xmx50G

ADD COMMENT
1
Entering edit mode

Mine was solved by increasing the heap space to 100GB -Xmx100G (50 GB didn't solve my issue).

I think this depends on the size of your vcf file but there's no guide yet on how much space you need to allocate.

ADD REPLY

Login before adding your answer.

Traffic: 1535 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6