Comments (12)
似乎开启时间过长也会导致这个问题,我是昨晚开的,然后留在了视频目录页面。然后睡觉时候改成了睡眠状态,所以第二天是直接恢复了源状态并没有进行什么操作。然后准备看会视频时候发现很卡。看了下内存又用了15个G的内存。不知道什么情况
from miru-app.
在看了会视频后返回首页后,发现这内存占用在不断增加。虽然增加的不快,但是一直在加,是没有自动释放内存吗?
from miru-app.
按理来说应该退出视频界面会释放内存,你只是看了视频然后退出视频界面然后内存就开始一直增加吗?
from miru-app.
按理来说应该退出视频界面会释放内存,你只是看了视频然后退出视频界面然后内存就开始一直增加吗?
我也不确定这是什么情况了,因为最近一段时间使用中,有时候打开半小时看了会视频他就开始使用了4-8G内存了,然后关闭重开又恢复正常。有的时候开一天中途也会使用看视频什么的,但是内存都使用正常。有点无法确定他这个到底是啥情况了。就正常使用有的时候用一会就内存占用飙升到几个G,有的时候用一天他也正常
from miru-app.
内存增加大概率是 media_kit的问题,在我应用中,多次调用 player.open(),会导致内存持续增加,而不会释放,长时间播放也会导致内存增加
from miru-app.
内存增加大概率是 media_kit的问题,在我应用中,多次调用 player.open(),会导致内存持续增加,而不会释放,长时间播放也会导致内存增加
原来是这样
from miru-app.
可以尝试限制一下最大缓存
void initVideo() async {
if (player.platform is NativePlayer) {
await (player.platform as dynamic).setProperty('cache', 'yes');
}
if (player.platform is NativePlayer) {
await (player.platform as dynamic).setProperty('demuxer-max-bytes', '30MiB');
}
if (player.platform is NativePlayer) {
await (player.platform as dynamic).setProperty('demuxer-readahead-secs', '20');
}
}
demuxer-max-bytes
和 demuxer-readahead-secs
我测试的时候没有明显增加内存,但是在另一个应用中,开多个客户端只有一个生效,
其他的还是会不断增大内存
from miru-app.
可以尝试限制一下最大缓存
void initVideo() async { if (player.platform is NativePlayer) { await (player.platform as dynamic).setProperty('cache', 'yes'); } if (player.platform is NativePlayer) { await (player.platform as dynamic).setProperty('demuxer-max-bytes', '30MiB'); } if (player.platform is NativePlayer) { await (player.platform as dynamic).setProperty('demuxer-readahead-secs', '20'); } }
demuxer-max-bytes
和demuxer-readahead-secs
我测试的时候没有明显增加内存,但是在另一个应用中,开多个客户端只有一个生效, 其他的还是会不断增大内存
这个问题似乎还不是固定的,因为我是偶尔会遇到,还不是此次都会遇到,就挺奇怪的
from miru-app.
@Joackk 可以试试 https://github.com/miru-project/miru-app/actions/runs/7256772092?pr=153
from miru-app.
@Joackk 可以试试 https://github.com/miru-project/miru-app/actions/runs/7256772092?pr=153
感谢大佬
from miru-app.
还有这个问题嘛? @Joackk
from miru-app.
还有这个问题嘛? @Joackk
暂时的使用没有遇到,但是我不确定,因为之前他也不是固定触发,而是偶尔会触发,有时候蛮久都不触发。今天开了一天是没有遇到,应该没了
from miru-app.
Related Issues (20)
- Extension search and separation by types
- [Windows] fix for detail thumbnail exit
- [Winodws] add horizontal scrollbar for Backdrops HOT 2
- fix text spacing in Continue {episode} - detail page
- 中文搜索结果的封面加载失败 HOT 2
- Remember selected subtitle language
- support Trailer
- crashing HOT 3
- add clear search button to extension Repository page
- Add unpacker HOT 2
- 小米手机找不到扩展目录 HOT 2
- 有ios版本么 HOT 1
- Rendering error of comics in drop-down viewing.
- 有TV的安卓版本吗 HOT 1
- 第三方播放器无法同步字幕;调整字幕样式功能;docker安装是否可能
- i can't install the lastest version of Miru app in Windows HOT 7
- Miru UI does not appear on Windows 10 HOT 5
- Web Page crash when adding Anilist sync HOT 1
- (Android TV) Can't click 'OK' or 'Enter' on android TV Remote HOT 1
- 搜索功能翻页bug [pc端]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from miru-app.