Question

Is it possible to limit the amount of RAM available to a job?

  • 16 June 2016
  • 1 reply
  • 1 view

Badge +4

Hello,

on occasion while running a job the FME.exe will consume 99% of the available memory on my server thus causing much consternation for the IT folks.

Is it possible to limit the amount of RAM available to a process and/or set a time-out to kill a job if if runs for longer than ...


1 reply

Userlevel 4

If you're running FME Desktop, you can adjust the memory usage by adding the line FME_ENGINE_MEMORY_REDLINE <value> to your workspace header, look under menu item Tools / Edit header.

Value should be between 0.1 (10% of available memory) and 1.0 (100% of available memory). The default is 0.5 (50% of available memory).

It's a bit of a hack (in my opinion), but worth a try.

If you're running FME Server, look here: https://knowledge.safe.com/articles/992/how-to-control-fme-server-engine-memory-usage.html

Reply