Connect to the shadow system and check the background job RDDMASGL.
If the job fails due to memory related issues then you might need to adapt the memory parameters on the shadow system and restart the system.
If there is an ABAP dump generated then review the dump.
Check the SAP KBA 1918279 - performance analysis for ACT_UPG phase