diff --git a/src/languages/c.ts b/src/languages/c.ts index 682b0cd..65ab0f8 100644 --- a/src/languages/c.ts +++ b/src/languages/c.ts @@ -12,7 +12,7 @@ export const lang = { executable: "/usr/bin/gcc", parameters: ["gcc", sourcePath, "-o", `${outputDirectory}/a.out`, "-O2", "-fdiagnostics-color=always", "-DONLINE_JUDGE", "-mx32"], time: 5000, - memory: 1024 * 1024 * 1024, + memory: 1024 * 1024 * 1024 * 2, process: 10, // This is just a redirection. You can simply ignore this // if you can specify custom location for message output diff --git a/src/languages/cpp.ts b/src/languages/cpp.ts index 9697590..aede29b 100644 --- a/src/languages/cpp.ts +++ b/src/languages/cpp.ts @@ -12,7 +12,7 @@ export const lang = { executable: "/usr/bin/g++", parameters: ["g++", sourcePath, "-o", `${outputDirectory}/a.out`, "-std=c++03", "-O2", "-fdiagnostics-color=always", "-DONLINE_JUDGE", "-mx32"], time: 5000, - memory: 1024 * 1024 * 1024, + memory: 1024 * 1024 * 1024 * 2, process: 10, // This is just a redirection. You can simply ignore this // if you can specify custom location for message output diff --git a/src/languages/cpp11.ts b/src/languages/cpp11.ts index 7959902..65425bf 100644 --- a/src/languages/cpp11.ts +++ b/src/languages/cpp11.ts @@ -12,7 +12,7 @@ export const lang = { executable: "/usr/bin/g++", parameters: ["g++", sourcePath, "-o", `${outputDirectory}/a.out`, "-std=c++11", "-O2", "-fdiagnostics-color=always", "-DONLINE_JUDGE", "-mx32"], time: 5000, - memory: 1024 * 1024 * 1024, + memory: 1024 * 1024 * 1024 * 2, process: 10, // This is just a redirection. You can simply ignore this // if you can specify custom location for message output diff --git a/src/languages/cpp17.ts b/src/languages/cpp17.ts index c0a8809..91502e3 100644 --- a/src/languages/cpp17.ts +++ b/src/languages/cpp17.ts @@ -12,7 +12,7 @@ export const lang = { executable: "/usr/bin/g++", parameters: ["g++", sourcePath, "-o", `${outputDirectory}/a.out`, "-std=c++17", "-O2", "-fdiagnostics-color=always", "-DONLINE_JUDGE", "-mx32"], time: 5000, - memory: 1024 * 1024 * 1024, + memory: 1024 * 1024 * 1024 * 2, process: 10, // This is just a redirection. You can simply ignore this // if you can specify custom location for message output diff --git a/src/languages/haskell.ts b/src/languages/haskell.ts index 390f04e..0e88d7b 100644 --- a/src/languages/haskell.ts +++ b/src/languages/haskell.ts @@ -12,7 +12,7 @@ export const lang = { executable: "/usr/bin/compile-haskell", parameters: ["compile-haskell", sourcePath, outputDirectory, `${outputDirectory}/a.out`], time: 5000, - memory: 1024 * 1024 * 1024, + memory: 1024 * 1024 * 1024 * 2, process: 20, // This is just a redirection. You can simply ignore this // if you can specify custom location for message output diff --git a/src/languages/java.ts b/src/languages/java.ts index c097b73..9d37d5e 100644 --- a/src/languages/java.ts +++ b/src/languages/java.ts @@ -12,7 +12,7 @@ export const lang = { executable: "/usr/bin/compile-java", parameters: ["compile-java", sourcePath, outputDirectory], time: 5000, - memory: 1024 * 1024 * 1024, + memory: 1024 * 1024 * 1024 * 2, process: 20, // This is just a redirection. You can simply ignore this // if you can specify custom location for message output diff --git a/src/languages/ocaml.ts b/src/languages/ocaml.ts index c0d990f..58cc170 100644 --- a/src/languages/ocaml.ts +++ b/src/languages/ocaml.ts @@ -12,7 +12,7 @@ export const lang = { executable: "/usr/bin/compile-ocaml", parameters: ["compile-ocaml", sourcePath, outputDirectory], time: 5000, - memory: 1024 * 1024 * 1024, + memory: 1024 * 1024 * 1024 * 2, process: 20, // This is just a redirection. You can simply ignore this // if you can specify custom location for message output diff --git a/src/languages/pascal.ts b/src/languages/pascal.ts index ea649a9..14ea004 100644 --- a/src/languages/pascal.ts +++ b/src/languages/pascal.ts @@ -12,7 +12,7 @@ export const lang = { executable: "/usr/bin/compile-pascal", parameters: ["compile-pascal", sourcePath, outputDirectory], time: 5000, - memory: 1024 * 1024 * 1024, + memory: 1024 * 1024 * 1024 * 2, process: 10, // This is just a redirection. You can simply ignore this // if you can specify custom location for message output diff --git a/src/languages/vala.ts b/src/languages/vala.ts index f6bcbbe..0cc4a4e 100644 --- a/src/languages/vala.ts +++ b/src/languages/vala.ts @@ -12,7 +12,7 @@ export const lang = { executable: "/usr/bin/valac", parameters: ["valac", sourcePath, "-o", `${outputDirectory}/a.out`, "-D", "ONLINE_JUDGE", "-X", "-O2"], time: 5000, - memory: 1024 * 1024 * 1024, + memory: 1024 * 1024 * 1024 * 2, process: 50, // This is just a redirection. You can simply ignore this // if you can specify custom location for message output diff --git a/src/languages/vbnet.ts b/src/languages/vbnet.ts index 3febec3..1e8ab3a 100644 --- a/src/languages/vbnet.ts +++ b/src/languages/vbnet.ts @@ -12,7 +12,7 @@ export const lang = { executable: "/usr/bin/compile-dotnet", parameters: ["compile-dotnet", sourcePath, outputDirectory, "vbnc"], time: 5000, - memory: 1024 * 1024 * 1024, + memory: 1024 * 1024 * 1024 * 2, process: 10, // This is just a redirection. You can simply ignore this // if you can specify custom location for message output