wails icon indicating copy to clipboard operation
wails copied to clipboard

My application has error out of memory

Open shuffleman opened this issue 1 year ago • 0 comments

Description

When I use images to play videos on the front-end, the transmitted data content will accumulate in the cache and cannot be released. I use runtime The Windows ExecJS method passes base64 image data directly to the front-end, with a walls version of 2.7.1

To Reproduce

  1. Create an img tag on the front-end

  2. Write a method in the front-end to update the img tag, attach it to the window object, and when new data is received, release the current image using URL. revokeObject UR before updating it

  3. Use runtime. Windows ExecJS on the backend to send data to the frontend

Expected behaviour

The memory of the webview2 process continues to grow

Screenshots

No response

Attempted Fixes

No response

System Details

wails doctor has no output

Additional context

No response

shuffleman avatar Dec 13 '23 15:12 shuffleman