Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

内存的值一直没有变化 #194

Closed
Rantigen opened this issue Aug 8, 2023 · 5 comments
Closed

内存的值一直没有变化 #194

Rantigen opened this issue Aug 8, 2023 · 5 comments

Comments

@Rantigen
Copy link

Rantigen commented Aug 8, 2023

图片
内存的值一直没有变化有没有人遇到过,需要怎么处理

@rafa0128
Copy link
Member

rafa0128 commented Aug 8, 2023

看有没有什么异常日志,提供日志才能定位问题

@Sylviahh
Copy link

我也遇到这个问题:
手机设备是Redmi K40(Android11),网页版触发start后,无法获取到memory信息。
log
执行adb命令“adb -s 2bd3741c shell dumpsys meminfo 12438“,返回的信息里面,“TOTAL”后面不带冒号,导致正则不到数据,需要兼容下:
adb

@rafa0128
Copy link
Member

解了,等下个版本

@Fengqiaoyepo
Copy link

我这内存也是0,设备型号:oneplus5T(Android 10)
image
执行dumpsys meminfo返回的信息界面
image

@Fengqiaoyepo
Copy link

image
image
回复上面的问题,我的设备用命令打印的swap关键字是:TOTAL SWAP (KB):
apm.py里的正则表达式有点问题,按照上面改下就行。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants