Skip to content

Commit ce2eed5

Browse files
committed
Increase total memory
Relates: #4
1 parent 8cf7041 commit ce2eed5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ffmpeg.js

+2
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ export class Prober {
8888
worker.postMessage({
8989
type: "run",
9090
arguments: ["-hide_banner", "-i", source.path],
91+
TOTAL_MEMORY: 134217728,
9192
mounts: [wfsMount],
9293
});
9394
worker.onmessage = e => {
@@ -237,6 +238,7 @@ export class Pool {
237238
worker.postMessage({
238239
type: "run",
239240
arguments: params,
241+
TOTAL_MEMORY: 268435456,
240242
MEMFS,
241243
mounts,
242244
}, transfer);

0 commit comments

Comments
 (0)