box86 run wine cef use a lot of memory and cpu
arm64:
windows:
debian:

When i load youtube, i found box86 run wine cef use many memory and cpu, finaly let system block. CefClient run normal in debian wine and windows.
How can I reproduce the issue myself?
How can I reproduce the issue myself?
cefclient download url https://drive.google.com/file/d/1WBnjFX1zAf2UavU94tMMp-5zUyN3QmTz/view?usp=share_link wine32 deb download url https://drive.google.com/file/d/1ydfHq1Z7YyepddhRZM03WpIs195Qzf5I/view?usp=share_link You can run cefclient with BOX86_NOPULSE=1 /opt/ocean-wine/bin/ocean-wine in box86, cefclient.exe need full path
Thank you, I'll try to reproduce later. Note that I will not be much availble in the next week, so it may take some time...
Thank you, I'll try to reproduce later. Note that I will not be much availble in the next week, so it may take some time...
When set BOX86_DYNAREC=0, disable dynarec, memory half less than before, but too slow.
Thank you, I'll try to reproduce later. Note that I will not be much availble in the next week, so it may take some time...
When set BOX86_DYNAREC=0, disable dynarec, memory half less than before, but too slow.
@ptitSeb Dynarec use a lot of memory, how to analyze memory usage ?
Well, yes, dynarec use lots of memory, because it maps all the memory the program use. Everything is in custommem.c. I guess it's mostly the memory "jmp" map that is the issue, but I don't have any alternative for now.
@ptitSeb
I read "jmp" map code, box86_jumptable malloc 256kb memory, set to arm_next. Is it necessary to consume so much physical memory? I try to set box86_jumptable malloc16kb memory, use memory less, dynarec works fine.