Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.OutOfMemoryError: Java heap space error #3

Open
thomasyu888 opened this issue Apr 27, 2020 · 8 comments
Open

java.lang.OutOfMemoryError: Java heap space error #3

thomasyu888 opened this issue Apr 27, 2020 · 8 comments
Labels
documentation Improvements or additions to documentation

Comments

@thomasyu888
Copy link

thomasyu888 commented Apr 27, 2020

The distribution of variants are:

76410
15354
13084
226854
17616
47908
6115
326934
3399
324668
55294
49259
268895
123123
889
35805
10275
2122

Some of these are combinations of VCFs, but the largest MAF is 326934 rows. I am currently using a t3.medium instance which is 2CPU and 4GB mem.

@sheridancbio
Copy link
Contributor

👍 thanks for the report

@sheridancbio
Copy link
Contributor

Initial testing shows that for a MAF with 379772 records, the memory usage seen (on dashi-dev) was 37652044 bytes virtual memory (~37GB) and 6463572 bytes resident memory (~6.2G)

@ao508
Copy link
Contributor

ao508 commented Apr 28, 2020

@sheridancbio @thomasyu888 is this issue okay to close for now since Tom will be increasing his node size or is there still work to do?

@sheridancbio
Copy link
Contributor

t3.medium node was insufficient for mskimpact maf
not sure if a success has happened yet and what size node was used.

@ao508
Copy link
Contributor

ao508 commented Apr 29, 2020

Follow up question - did anyone attempt to run the annotator with the jvm argument to increase the heap size?

@thomasyu888
Copy link
Author

thomasyu888 commented Apr 30, 2020

I just encountered this error with a mutation file that is 240 MB, and 226870 rows. How do I increase the heap size?

I am now on a t3.xlarge machine. 4 cores and 16 GB ram.

Annotator logs show:

2020-04-30 04:13:30 [main] INFO  org.cbioportal.annotator.internal.GenomeNexusImpl - 	On record 211000 out of 226869, annotation 93% complete
2020-04-30 04:40:10 [main] ERROR org.springframework.batch.core.step.AbstractStep - Encountered an error executing step step in job annotationJob

@thomasyu888
Copy link
Author

Adding java -Xmx48g resolved this issue.

@inodb
Copy link
Member

inodb commented Mar 18, 2021

Prolly good to add this to the documentation somewhere

@inodb inodb added the documentation Improvements or additions to documentation label Mar 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

4 participants