testing memory setting