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

hprof文件剪裁问题 #276

Open
zhengzhong1 opened this issue Apr 8, 2024 · 0 comments
Open

hprof文件剪裁问题 #276

zhengzhong1 opened this issue Apr 8, 2024 · 0 comments

Comments

@zhengzhong1
Copy link

image

文档中描述使用如下api进行快照剪裁,看调用逻辑这个只是触发了dump的逻辑。没看到实际的效果,test.hprof 还是很大。如上面图片。

这个是什么原因?

ForkStripHeapDumper.getInstance().dump(this.getExternalCacheDir().getAbsolutePath() + File.separator + "test.hprof")
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

1 participant