Set memory eating(without limits) in function