You are here: User Interface > Setting the Temporary Folder

Setting the Temporary Folder

When FME runs a large, multi-dataset translation, it often requires a lot of temporary disk space. This is particularly true when running a Dataset Fanout, because there is no guarantee that the features will arrive at the fanout in a single dataset group. Therefore, FME has to write out all of the datasets to temporary storage, and then fan them out afterward. The amount of available disk space is important, but on a performance level, you might be more concerned about the speed of all this disk activity.

Many of the FME temporary files are created when caching data for larger datasets or for display in the FME Data Inspector. Using a faster hard drive can make a significant difference to the FME translation if disk cache I/O speeds are improved. An example would be if you have an SSD (Solid-State Drive) on your computer. These are typically quite a bit faster than traditional HHD drives, so if you can point your FME_TEMP to an SSD then you'll see a bit of a performance increase when working with larger datasets.

Where possible, set your temporary folder to point to the fastest disk you have available.

Note: The FME Knowledge Center article setting a different temporary folder tells you how to set the FME_TEMP environment variable. (In Windows 7, look under Control Panel > System > Advanced > Environment Variables).

Usage Notes

Don't set your temporary folder on the same disk that the operating system uses; FME might be slowed down by the operating system writing to the same disk at the same time.

Try to set the temporary folder to a disk that has a large amount of free space – it won't improve the speed, but it might prevent a large translation from failing due to a lack of disk space.

Java VM Loading

Note: These settings are for FME Plug-ins written in Java.

These environment variables allow you to specify memory available to Java Plugins:

  • FME_JVM_MIN_HEAP_SIZE: customize the initial heap size for initializing Java VM.
  • FME_JVM_MAX_HEAP_SIZE: customize the maximum heap size for initializing Java VM.

By default, the initial heap size is 1024K and the maximum is 16384K. JVM will take the default values if these two variables are not set. The values of these two variables must be multiples of 1024K (for example, 4M and 64M or 4096K and 32768K).

Tags "temporary directory"