Adding memory limitations for the jobs

Now configurable