As the issue has reoccur every night since i made this thread I've been able to collect logs.
The logs definitely seems to indicate a problem with releasing memory.
- An attempt to release memory but 0 Byte where release
- Forced garbage collection, reason memory
Beside the logs I've found out that there might be a memory leak in wireguard-go (It's relied upon when Wireguard Isn't included in the kernel).
https://github.com/WireGuard/wireguard-go/pull/69
If anyone knows of a good software to monitor ram usage I'd be happy to know about since I believe enabling Dev options (to check ram usage) is I'll advised.
type: logcat
osVersion: google/bluejay/bluejay:15/AP3A.241105.007/2024120400:user/release-keys
userType: full.secondary
package: com.wireguard.android:510, targetSdk 34
buffers: main,system,crash,events,kernel
level: verbose
--------- beginning of events
12-07 01:18:09.671 6746 6746 I sqlite_mem_released: Memory released=0B
12-07 01:18:09.672 6746 6746 I force_gc: reason=mem
--------- beginning of system
12-07 02:42:57.945 6746 6746 D ActivityThread: Package [org.mozilla.firefox] reported as REPLACED, but missing application info. Assuming REMOVED.
12-07 02:42:57.953 6746 6746 D ActivityThread: Package [org.mozilla.firefox] reported as REPLACED, but missing application info. Assuming REMOVED.