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

addnorm: Requested array size exceeds VM limit #357

Open
jiangshan529 opened this issue Sep 19, 2024 · 1 comment
Open

addnorm: Requested array size exceeds VM limit #357

jiangshan529 opened this issue Sep 19, 2024 · 1 comment
Labels

Comments

@jiangshan529
Copy link

Hi, I am creating a hic file with 1.7 billion reads to 50 bp res map, but the addnorm always failed in the last step. How could this be resolved? I requested a google cloud server with 700gb memory and the used memory never exceeds 100g.

Calculating norms for zoom BP_50
Exception in thread "main" java.lang.OutOfMemoryError: Requested array size exceeds VM limit
at java.base/java.util.Arrays.copyOf(Arrays.java:3537)
at java.base/java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:100)
at java.base/java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:111)
at org.broad.igv.tdf.BufferedByteWriter.putLong(BufferedByteWriter.java:134)
at org.broad.igv.tdf.BufferedByteWriter.putDouble(BufferedByteWriter.java:115)
at juicebox.tools.utils.original.NormalizationVectorUpdater.writeNormalizationVector(NormalizationVectorUpdater.java:859)
at juicebox.tools.utils.original.NormalizationVectorUpdater.updateHicFile(NormalizationVectorUpdater.java:174)
at juicebox.tools.clt.old.AddNorm.run(AddNorm.java:84)
at juicebox.tools.HiCTools.main(HiCTools.java:96)

Copy link

Hello,
Which norm are you trying to add? KR may not work, but SCALE and its derivatives should.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants