Added fixes to take into account www-data user
Changed mem req back