Initial heap size set to a larger value than the maximum heap size in Round 137 G

Revision en1, by dzhi, 2022-10-19 21:01:55

Round 137 problem G (https://mirror.codeforces.com/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

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English dzhi 2022-10-19 21:01:55 570 Initial revision (published)