Replies: 4 comments 4 replies
-
|
Hello, You are correct that you can ignore the SLF4J warning and the real error is the OutOfMemoryError. As defined here: https://phg.maizegenetics.net/installation/#setting-memory |
Beta Was this translation helpful? Give feedback.
-
|
I think you need to set the memory like this
export JAVA_OPTS="-Xmx500g"
And consider using some less than the total amount the machine has
…On Mon, Mar 10, 2025 at 12:41 PM Yifang Tan ***@***.***> wrote:
Thanks a lot!
With you help, I increased the parameter to a crazy number as *export
'JVM_ARGS=-Xmx1024g'* and it still gave me the same error.
I was thinking maybe the assemblies number (8 plus Ref, each ~3.5Gbp) are
too many for this practice, as 3 lines of the assemblies are almost
complete as the reference genome. Does this make the sites too many to be
handled in a single run? Or, is it still valid if I create individual graph
compared with the Reference? Thanks again.
—
Reply to this email directly, view it on GitHub
<#288 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADUI6AWJOBMBYPGCQNA65L2TW6FLAVCNFSM6AAAAABYSF5ZWKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTENBVGE4DMOA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
|
Also just a quick update. I am working on some changes to the underlying biokotlin code to address this. In initial testing with Maize it reduced the RAM needed for one line from 84GB to 28GB(3x) and this likely will see similar or even better improvements with longer genomes. I am verifying that the resulting files are equivalent and will hopefully get this change into PHGv2 this week. |
Beta Was this translation helpful? Give feedback.
-
|
Please try the new version of PHGv2. We added in the changes which should help address this. There may be some additional changes we need to implement though but see if it works for you. If it does not please open up an issue. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
While running "phg create-maf-vcf " I hit the warning and error:
After search for those messages, it seems the SLF4J part is just warning that could be ignored. The actual problem is with the message OutOfMemoryError: java heap space, I believe.
I tried different numbers with:
export 'JVM_ARGS=-Xms4g -Xmx64g'
but the error stayed the same.
I am not familiar with JAVA, and this may be basically wrong to modify the java heap space.
What is the correct way to fix this problem?
Thanks a lot!
Beta Was this translation helpful? Give feedback.
All reactions