Skip to content

Commit 8e05c3b

Browse files
fix: increase heap memory allocation to 7GB to resolve memory range errors
1 parent 72eb658 commit 8e05c3b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/dapp-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
/etc/resolv.conf
7676
binary-fs: true
7777
fs-dir: /app
78-
heap: 1G
78+
heap: 7G
7979
dlopen: 1
8080
mprotect: 1
8181
secrets:

deployment-dapp/src/singleFunction/deployApp.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export const deployApp = async ({
3232
framework: 'SCONE' as any, // workaround framework not auto capitalized
3333
version: `v${sconifyVersion.split('.').slice(0, 2).join('.')}`, // extracts "vX.Y" from "X.Y.Z-vN" format (e.g., "5.9.1-v16" → "v5.9")
3434
entrypoint: 'node --disable-wasm-trap-handler /app/app.js',
35-
heapSize: 1073741824,
35+
heapSize: 7516192768,
3636
fingerprint,
3737
};
3838
const app = {

0 commit comments

Comments
 (0)