Skip to content

Surprise crash when i was opening a note #1023

@triplehenecchi-rgb

Description

@triplehenecchi-rgb

What happened?

A bug happened!

App Version

7.11.1

Android Version (API Level)

36

(Optional) Relevant log output

java.lang.OutOfMemoryError: Failed to allocate a 24 byte allocation with 487904 free bytes and 476KB until OOM, target footprint 268435456, growth limit 268435456; giving up on allocation because <1% of heap free after GC.
	at java.lang.String.fastSubstring(Native Method)
	at java.lang.String.substring(String.java:2959)
	at org.json.JSONTokener.nextString(JSONTokener.java:219)
	at org.json.JSONTokener.nextValue(JSONTokener.java:111)
	at org.json.JSONTokener.readObject(JSONTokener.java:380)
	at org.json.JSONTokener.nextValue(JSONTokener.java:104)
	at org.json.JSONTokener.readArray(JSONTokener.java:449)
	at org.json.JSONTokener.nextValue(JSONTokener.java:107)
	at org.json.JSONArray.<init>(JSONArray.java:94)
	at org.json.JSONArray.<init>(JSONArray.java:110)
	at com.philkes.notallyx.data.dao.BaseNoteDao_Impl$getFrom$1.call(SourceFile:226)
	at androidx.room.RoomTrackingLiveData$$ExternalSyntheticLambda0.run(SourceFile:126)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1154)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:652)
	at java.lang.Thread.run(Thread.java:1564)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions