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

Job will fail randomly #735

Open
Liu-Delin opened this issue Dec 10, 2020 · 0 comments
Open

Job will fail randomly #735

Liu-Delin opened this issue Dec 10, 2020 · 0 comments

Comments

@Liu-Delin
Copy link

Liu-Delin commented Dec 10, 2020

We have two arguments to set memory when run shifu stats.

  1. -Dmapreduce.map.memory.mb=4096
  2. -Dmapreduce.map.java.opts="-Xms3700m -Xmx3700m -server -XX:MaxPermSize=64m -XX:PermSize=64m -XX:+UseParallelGC -XX:+UseParallelOldGC -XX:ParallelGCThreads=8 -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps"

It means that the worker has 4096MB and JVM has 3700MB memory. But sometimes it will fail due to physical memory is not enough, and we can set less JVM memory to avoid this issue.

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

No branches or pull requests

1 participant