dzhi's blog

By dzhi, history, 2 years ago, In English

Round 137 problem G (https://codeforces.me/contest/1743/problem/G) Java submission always fails with following error: Error occurred during initialization of VM Initial heap size set to a larger value than the maximum heap size

The problem has an usual memory limit per test of 4 megabytes. The error is likely due to value of -Xmx is smaller than -Xms in the test launch. -Xms: This specifies initial heap size for JVM -Xmx: This specifies maximum heap memory size for JVM

  • Vote: I like it
  • +23
  • Vote: I do not like it

| Write comment?