Add Optional Memory Limits

Can change memory limits now.(not default 64 megabytes any more)