fixed memory swap issues
fixed memory swap issues