slave crash when low memory