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

MIUI OOMEventManagerFK Failed to mkdir /data/miuilog/stability/memleak/heapdump/ #267

Open
doutuifei opened this issue Jan 29, 2024 · 3 comments

Comments

@doutuifei
Copy link

koom-fast-dump:2.2.1
koom-java-leak:2.2.1
koom-monitor-base:2.2.1
shark:2.2.1
xhook:2.2.1
android:13
MIUI:14.0.2
Device:RedMi Note 10
CPU: 天玑700

  val builder = OOMMonitorConfig.Builder()
  builder.setEnableHprofDumpAnalysis(true)
  builder.setHprofUploader(object : OOMHprofUploader {
      override fun upload(file: File, type: OOMHprofUploader.HprofType) {
          log("JavaHeapMonitor setHprofUploader file:${file.path}")
      }
  })

  builder.setReportUploader(object : OOMReportUploader {
      override fun upload(file: File, content: String) {
          log("JavaHeapMonitor setReportUploader file:${file.path}")
      }
  })
  MonitorManager.addMonitorConfig(builder.build())
@doutuifei doutuifei changed the title [Bug]MIUI OOMEventManagerFK Failed to mkdir /data/miuilog/stability/memleak/heapdump/ MIUI OOMEventManagerFK Failed to mkdir /data/miuilog/stability/memleak/heapdump/ Jan 30, 2024
@zefengsysu
Copy link
Contributor

这个路径不是 KOOM 内部设置的

@doutuifei
Copy link
Author

这个路径不是 KOOM 内部设置的
我知道,应该是MIUI系统的问题,但是KOOM怎么解决在MIUI上抓不到数据的问题?

@zefengsysu
Copy link
Contributor

这个问题原因应该是路径设置的有问题,那只能使用方自行解决了

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

2 participants