Skip to content

OutOfMemoryError: Java heap space #50

@lczech

Description

@lczech

Hi there!

I am using DamageProfiler 1.1 via the conda package, which means that the call to run the command line version simply is

damageprofiler [options]

instead of the call

java -jar DamageProfiler-VERSION.jar [options]

that is given in the documentation.

Now, for some large datasets, I am getting

Exception in thread "main" java.lang.OutOfMemoryError: Java heap space

and my guess after a bit of searching is that I need to provide Java with

-Xmx<amount of memory>

for this to work (NB: WTF Java?! Just use the available memory!).

My questions here are: Is that indeed the solution to the issue? And if so, how do I provide this with the conda version? Trying to locate the jar file within the conda env directory does not seem like a robust idea - what is the canonical way of solving this?

Thanks in advance and so long
Lucas

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions