Maxthreads can be 1 if you want it. Many times the output card is set to "sink" if it calls a RUN map, if you don't need that card's output. If the data being passed is large, it is held in memory. Changing it to file and using a file name with the transcation set to !create (don't create) will save this RAM. If you input data is 3 meg or less, work area as memory should be OK, between 3 and 6 meg, you need to test, about 5 or 6, set the work area to file. Make sure it is -WU if you share RUN maps or the map calling the RUN map is multi-threaded. You also need to check the page size and count for both the main and RUN map. If you are using large data sizes for input or output, set StreamMaxMemLimit to 10 and make sure the directory it uses is local to the server, has enough room and you have permissions to the dir.
There have bben issues where there was a buffer overflow and a map would report out of memory, even when there was plenty available. For those instances send a reproducible test case to Ascential Support and get a patch.
Using the wrong version of JAVA can mess things up, and there have been memory issues found with Oracle clients, MQSeries and other appplications. In those cases you need to contact Oracle or IBM etc.
BocaBurger
<===========================||////////////////|0
The pen is mightier than the sword, but the sword hurts more!