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

[bug]crash #61

Open
H1d3r opened this issue Jun 20, 2024 · 1 comment
Open

[bug]crash #61

H1d3r opened this issue Jun 20, 2024 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@H1d3r
Copy link

H1d3r commented Jun 20, 2024

当分组中条目数量较大时刷新分组,由于申请的内存不足以换成所有数据,最终导致fc。

建议使用异步刷新读取和加载已缓存的数据。
或者临时调整申请的内存。

VersionName: 1.1-beta48
VersionCode: 18
SDK Version: 34
ABI: arm64-v8a

Crash Info: 
java.lang.OutOfMemoryError: Failed to allocate a 18136440 byte allocation with 15565051 free bytes and 14MB until OOM, target footprint 268435456, growth limit 268435456
	at java.lang.StringFactory.newStringFromUtf8Bytes(Native Method)
	at java.lang.StringFactory.newStringFromBytes(StringFactory.java:94)
	at java.lang.StringFactory.newStringFromBytes(StringFactory.java:113)
	at B7.h.C(SourceFile:52)
	at B7.h.c0(SourceFile:8)
	at A7.b.a(SourceFile:821)
	at D.A.f(SourceFile:130)
	at p7.n.i(SourceFile:97)
	at p7.k.run(SourceFile:50)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
	at java.lang.Thread.run(Thread.java:1012)
@SkyD666 SkyD666 added bug Something isn't working help wanted Extra attention is needed labels Jun 21, 2024
@H1d3r
Copy link
Author

H1d3r commented Dec 7, 2024

我自己修改了清单文件,目前不会因为刷新过多订阅导致crash了。

android:largeHeap="true"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants