Ye, that actually caused the error.
I was wondering why the error occured on my emulator device with 2gb memory
since the device in idle state uses only about 800mb, that’s why I thought the cause would he more complex.
However with a 4gb memory device it worked fine.