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进行内核进程。
以下操作系统支持/ 3GB交换机:
- Windows 7的
- Windows 8.
- Windows 10.
- Windows Vista
- Windows XP Professional.
- Windows Server 2003
- Windows Server 2003,Enterprise Edition
- Windows Server 2003,Datacenter Edition
- Windows 2000高级服务器
- Windows 2000数据中心服务器
- Windows NT Server 4.0,Enterprise Edition
Windows 2000服务器上不支持/ 3GB交换机。
FME 2006 GB和更大。
- 打开“开始”菜单的“配件程序”组并右键单击Command Prompt。
- 点击以管理员身份运行。
- 在命令提示符下,输入:
- 重启你的电脑。
bcdedit / set pompanicuserva 3072
- 打开“开始”菜单的“配件程序”组并右键单击Command Prompt。
- 点击以管理员身份运行。
- 在命令提示符下,输入:
- 重启你的电脑。
bcdedit / deletevalue compoundserva
在FME可以使用/ 3GB交换机之前,您需要编辑系统的boot.ini.file.
您可以通过执行以下操作访问此文件:
- 打开“系统属性”对话框。您可以通过打开控制面板和选择系统来访问此对话框,或通过右键单击我的计算机并选择属性。
- 选择“系统属性”对话框顶部的“高级”选项卡。
- 点击the Settings button under Startup and Recovery.
- 点击the Edit button under System startup. Notepad will open with the boot.ini file.
Under [operating systems], there should be a line that ends with /fastdetect. Add /3GB to the end of this line.
以下是添加/ 3GB交换机之前的Boot.ini文件的示例:
[引导加载程序]超时= 30默认=多(0)磁盘(0)rdisk(0)分区(2)\ Windows [操作系统]多(0)磁盘(0)rdisk(0)分区(2)\ Windows ="Microsoft Windows XP Professional" /fastdetect
当添加/ 3GB交换机时,上面的Boot.ini文件应该如下所示:
[引导加载程序]超时= 30默认=多(0)磁盘(0)rdisk(0)分区(2)\ Windows [操作系统]多(0)磁盘(0)rdisk(0)分区(2)\ Windows =“Microsoft Windows XP Professional”/ FastDetect / 3GB
您现在需要重新启动计算机。当您的计算机重新启动时,您的翻译应该能够在没有内存中的情况下完成。
要为其他版本的Windows禁用3GB交换机:
注意:建议您在不需要时删除/ 3GB开关。
Simply remove the /3GB switch from yourboot.ini.
文件并重新启动计算机。
It doesn't need to! For 64-bit versions of windows, FME can take advantage of 4GB of addressable memory. If you are running FME on a 64-bit version of Windows, no further action is required. Translations that previously failed because of limited memory should now work.
SourceAnspro-extralightitalic .ttf.
Sourceanspro-lightitalic .ttf.