On my Samsung S7, running LineageOS 16.0 / Android 9.0 rooted, I have the problem as described in the first thread:
"-if the app hangs during processing a HDR+ or portrait shot, memory leak (500-600 MB) could happen. If it is leaked by GCam, a force close in settings can eliminate it (a swipe away is not enough). However if it is leaked by cameraserver, cameraserver needs to be killed i.e. a reboot is needed for non-rooted users. Memory leak could be observed by looking at 'cat /d/ion/buffer' using adb or root shell. The Pixel 2017 config is more prone to memory leak."
The problem occurs each time I try to make a picture with HDR (default setting) or make a portrait photo. The problem: I don't understand the solution. Is there a more detailed describtion for not-adavanced-users?
How do I do a "force close in settings".
Thx for help!