Adjusting Memory Resources

当您使用非常大的数据集时,可以影响FME性能的一个问题是可用的RAM。

如果您通过工作空间运行非常大的数据集,则可能会看到一个消息框,该消息框“缺失内存。请释放一些内存,然后选择重试。“这意味着可以分配更多内存。

尝试以下选项:

  • Refer to the hints in the FME Community, in性能调整FME
  • 设置临时目录。
  • 清除临时文件
  • 添加交换空间(仅限Linux)
  • 使用/ 3GB交换机(仅限32位窗口)。

设置临时目录

When FME runs a large, multi-dataset translation, it often requires a lot of temporary disk space. This is particularly true when running adataset fanout,因为无法保证功能将在单个数据集组中到达扇出。因此,FME必须将所有数据集写入临时存储,然后之后扇动它们。因此,可用磁盘空间的数量很重要,但在性能问题上,您可能更关注所有此磁盘活动的速度。

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 yourFME_TEMPto 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: ">笔记:这个fme社区文章亚搏国际在线官网告诉你如何设置FME_TEMP环境变量。(在Windows 7中,在“控制面板”>“系统”>“高级”>“环境变量”下。

使用说明

不要将您的临时文件夹设置在操作系统使用的同一磁盘上;操作系统可能会在同一时间向同一磁盘写入同一个磁盘的FME。

尝试年代et 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.

清除临时文件

FME在翻译期间创建临时文件。在正常关闭期间,FME会自动清除这些文件。

如果FME没有干净关闭,则不会清除临时文件,并且它们将占用不必要的磁盘空间。

如果使用工具栏上的“停止翻译”按钮或在工作区完成时停止转换,则会停止转换。如果,如果计算机崩溃或在中间翻译中关闭工作台,则不清除临时文件。

It’s a good idea to periodically purge any remaining files by selecting Tools > Purge Temporary Files.

在Linux上添加交换空间

On Linux systems, you may see the following warning in the日志

The system is running low on memory. FME is at risk of being terminated by the OS.

On Linux, FME relies on the operating system to use swap space to manage memory usage, which requires that your system have enough swap space allocated for the entire memory footprint of FME and other running processes.

要增加交换空间,请参阅ubuntu swapfaqhttps://help.ubuntu.com/亚搏国际在线官网community/swapfaq.

使用/ 3GB交换机(仅限32位窗口)

Note: ">笔记:FME的全部甚至大多数用户不需要/ 3GB交换机。/ 3GB交换机只会使那些需要使用2GB的可寻址内存运行的翻译的人。

三十二个版本的Windows操作系统可以管理最多4GB的可寻址内存。对于用户应用程序和2GB,4GB分为2GB,用于内核进程。这意味着任何给定的应用程序都被限制为2GB的内存。

FME利用A / 3GB交换机,使操作系统将可用的4GB存储器划分为3GB,以为用户应用程序和1GB进行内核进程。