Hi
Parameter abap/heaplimit should trigger the restart of a process that consumes too much memory in order to reclaim the swap space that is not released by SAP process. On 740 the default value is 4 Gb, make sure it has not been set too high.
Regards