diff --git a/src/config/judge.ts b/src/config/judge.ts index 8b19e1d..8110d9d 100644 --- a/src/config/judge.ts +++ b/src/config/judge.ts @@ -7,6 +7,7 @@ export interface LanguageConfig { tag: string; workingDir: string; timeout: number; + memoryLimit: number; } export const LanguageConfigs: Record = { @@ -19,6 +20,7 @@ export const LanguageConfigs: Record = { tag: "latest", workingDir: "/src", timeout: 1000, + memoryLimit: 128, }, cpp: { id: "cpp", @@ -29,5 +31,6 @@ export const LanguageConfigs: Record = { tag: "latest", workingDir: "/src", timeout: 1000, + memoryLimit: 128, }, };