OpenCut icon indicating copy to clipboard operation
OpenCut copied to clipboard

[BUG] Out of memory

Open MaybeAnge opened this issue 1 year ago • 14 comments

Platform

Windows

Browser

Chrome

Current Behavior

Local and https://opencut.app/

Image

Expected Behavior

No response

Recurrence Probability

Always

Steps To Reproduce

  1. Go to opencut.app
  2. Create new project
  3. Open video
  4. Wait
  5. Crash

Anything else?

No response

MaybeAnge avatar Oct 02 '25 15:10 MaybeAnge

do you can send you video in comment

nghiaphamtq17 avatar Oct 03 '25 10:10 nghiaphamtq17

+1

Image

Below is the video I used

video.zip

techiexplorer avatar Oct 06 '25 16:10 techiexplorer

I have the same problem.

BetterYimi avatar Oct 06 '25 18:10 BetterYimi

do you can send you video in comment

Any video

MaybeAnge avatar Oct 06 '25 19:10 MaybeAnge

This problem is probably due to the hardware of our machines, browsers mainly handle website browsing, but the execution of the processing will not be as good as using an app.

nghiaphamtq17 avatar Oct 07 '25 01:10 nghiaphamtq17

same problem here.

Kingtous avatar Oct 07 '25 02:10 Kingtous

same

JhonTitor6 avatar Oct 07 '25 06:10 JhonTitor6

Is there any current development regarding this issue or is there no solution? I think the same error has been occurring for a month and a half since the last update. @mazeincoding

iguzelofficial avatar Oct 07 '25 16:10 iguzelofficial

Is there any current development regarding this issue or is there no solution? I think the same error has been occurring for a month and a half since the last update. @mazeincoding

I think the cause of the outOfMemory issue lies in the file "apps/web/src/hooks/use-frame-cache.ts". Caching imageData is a highly memory-intensive operation. I can fix this problem and maintain smooth preview performance if allowed.

HeaveNsHzj avatar Oct 09 '25 08:10 HeaveNsHzj

I think the cause of the outOfMemory issue lies in the file "apps/web/src/hooks/use-frame-cache.ts". Caching imageData is a highly memory-intensive operation. I can fix this problem and maintain smooth preview performance if allowed.

thanks soon fix in opencut.blackcatofficial.qzz.io

BlackCatOfficialytb avatar Oct 09 '25 15:10 BlackCatOfficialytb

I think the cause of the outOfMemory issue lies in the file "apps/web/src/hooks/use-frame-cache.ts". Caching imageData is a highly memory-intensive operation. I can fix this problem and maintain smooth preview performance if allowed.

thanks soon fix in opencut.blackcatofficial.qzz.io

remove code of "apps/web/src/hooks/use-frame-cache.ts" in preview-pannel.tsx can fix the memory issue

HeaveNsHzj avatar Oct 11 '25 14:10 HeaveNsHzj

The web version on Ubuntu Firefox full up my 64GB memory in less than a minute! CREAZY!!

RyanLin-InfEvo avatar Dec 07 '25 12:12 RyanLin-InfEvo

This is a browser problem, so no matter how powerful OpenCut is, the browser problem still remains, it can only edit very short videos.

nghiaphamtq17 avatar Feb 10 '26 06:02 nghiaphamtq17

This is a browser problem, so no matter how powerful OpenCut is, the browser problem still remains, it can only edit very short videos.

mediabunny should handle videos at any duration just fine (which is what opencut uses for the rendering engine).

can you confirm if this is still happening? a broader fix has recently been made (architecture change) but im not sure if that fixes this particular issue.

thank you

mazeincoding avatar Feb 25 '26 01:02 mazeincoding