RLIMIT_RSS: the maximum size, in bytes, to which a process's
resident set size may grow. This imposes a limit on the
amount of physical memory to be given to a process.
Your web environment seems to be limiting process sizes to 1MB.
Try setting the ULIMIT to a higher value like 10MB.