Skip to content

Suggestion: increase the default value of -Xss #726

Open
@josteinaj

Description

@josteinaj
docker run --rm -it --entrypoint=bash daisyorg/pipeline:latest-snapshot
root@72ab1c5ec8d1:/opt/daisy-pipeline2/bin# $JAVA_HOME/bin/java -XX:+PrintFlagsFinal -version | grep ThreadStackSize
     intx CompilerThreadStackSize                  = 1024                                   {pd product} {default}
     intx ThreadStackSize                          = 1024                                   {pd product} {default}
     intx VMThreadStackSize                        = 1024                                   {pd product} {default}

I faced this epubcheck issue, which Romain described a solution for: w3c/epubcheck#1094

It failed with -Xss1024k, which is the default, but it succeeded with -Xss2048k. I've now set JAVA_OPTS to -Xss4096k for all our Pipeline 2 instances, just to be safe.

Could the default be increased? I don't know what the best way would be. Maybe set it in DEFAULT_JAVA_OPTS in bin/pipeline2?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions