This post covers the important and often misunderstood relationship between files and memory and its consequences for performance.
这篇文章将描述一些重要的并且常常被误解的文件与内存之间的关系,以及由此而来的效率问题。
Your transform will take one of the two files as its primary input, and will use the content tag to read, parse, and load into memory the second file.
您的转换将采用两个文件之一作为其主要输入,并将使用内容标记来将第二个文件读取、分析和加载到内存中。
In addition to actual files, devices and Shared memory objects can be mapped.
除了实际的文件,设备与共享内存对象都能够被映射。
They never saved or closed files, so their computer had dozens of documents open and its memory was swamped.
他们从不保存或者关闭文件,所以他们的计算机打开了许多文档并填满了内存。
Finally, having extra memory on hand allows the file systems to cache files and metadata in memory.
最后,安装更多内存让文件系统可以把文件和元数据缓存在内存中。
You can build all kinds of ODF files from scratch or load an existing document into memory, change it, and save it back again.
您可以从头创建各种ODF文件,或者将一个现有文档加载到内存,修改它并再次保存。
The second model is more efficient, it USES less memory, and saves you from the headache of creating and deleting temporary files.
第二种模式更有效,它使用较少的内存,并省去了创建和删除临时文件的烦恼。
Because the messages are encrypted before they are passed to the queue manager, the data is protected in memory, in the queue files, in logs, and in traces.
由于消息在传输到队列管理器之前得到加密,因此数据在内存、队列文件、日志和跟踪记录中受到保护。
The artificial kind of memory that consists of libraries, files, and records, is the most important in organizations.
人工的记忆包括了藏书、档案、和记录,这在组织中是最重要的。
If files can be served from memory cache, then that decreases the average service time, and hence increases the number of connections per second the server can handle.
如果可以从内存缓存中获取文件,就可以降低平均服务时间,因此增加服务器每秒能够处理的连接数。
The compressed data is kept both on disk and memory and DB2 also compresses user data stored in log files, thereby reducing log file size.
被压缩的数据同时存放在磁盘上和内存中,DB2还压缩存储在日志文件中的用户数据,以便减少日志文件大小。
This instructs DB2 to pass the index keys to the sort program in memory, rather than having the keys written to and read once again from sort work files on DASD.
这将指示DB 2将索引键传递给内存中的排序程序,而不是再次将这些键写到DASD上的排序工作文件中,然后从中读取这些键。
My WAP has a read-write filesystem in memory for work files and logging.
我的WAP在内存中有一个只读的文件系统,用于为文件和日志提供服务。
The binary files that constitute the executable code of the application also construe data which must be stored in memory and so consume a fixed proportion of the 2gb of available memory.
组成应用程序可执行代码的二进制文件也会分析必须存储在内存中的数据,因此消耗固定部分的2gb可用内存。
Based on this test, we concluded that large mail files require more memory, especially when starting user sessions and during failover.
基于这个测试,我们得到了这样的结论,大邮件文件需要更多的内存,尤其是当用户会话开始时以及在故障转移期间。
The program is just 3kb big and lets attackers change files that are loaded into system memory during the boot process.
该程序只有3K B大小,允许攻击者在系统启动时更改系统内存中加载的文件。
This means that the text of the messages is readable in memory, in log files, in traces, and in the files that back the queue structures.
这意味着消息在内存、日志文件、跟踪记录和返回队列结构的文件中是可读的。
This article does not cover all of lxml but instead demonstrates techniques to efficiently process very large XML files, optimizing for high speed and low memory usage.
本文并没有介绍 lxml的所有部分,但是演示了一些可以有效处理大型XML文件、进行优化以提高处理速度并减少内存使用的技术。
But the HttpPostedFile class description states that "By default, all requests, including form fields and uploaded files, larger than 256 KB are buffered to disk, rather than held in server memory."
但是HttpPostedFile类的描述声明“默认情况下,所有的请求,包括表单域和上传的文件大于256KB的都缓冲到磁盘,而不是在服务器内存中。”
Tmpfs also makes use of the disk swap space for storage, and of the virtual memory (VM) subsystem when requesting pages for storing files.
tmpfs还使用磁盘交换空间来存储,并且当为存储文件而请求页面时,使用虚拟内存(VM)子系统。
It adds the creation of the named memory segment, the registration of a callback function, and the writing to files. The memory allocation is shown in Listing 11.
它添加了已命名内存段的创建、一个回调函数的注册、以及文件的写入。
Modify the maxperm and maxclient parameters to 100% to make sure that the VMM controls the caching of the page files using as much memory as possible in the process.
将maxperm和maxclient参数更改为100%,以确保VMM在进程中使用尽可能多的内存来控制页面文件的缓存。
Segments 3-C and E: Memory mapped regions (including files) and shared memory
分段 3-C和E:内存映射区域(包括文件)和共享内存
Memory consumption on analyzing large files has been greatly reduced, which should benefit ASP.NET and LINQ to SQL developers.
在进行大文件分析时的内存消耗也有很大的减少,这会让Asp.net和Linq tosql的开发者从中受益。
High performance (SendFile API support and memory-mapped files).
高性能(支持SendFileAPI和内存映射文件)。
It reduces the size of executable files on the disk and in memory.
减少了磁盘上和内存里的可执行文件的大小。
These include convenience methods for reading and writing text-based files, significantly faster directory enumeration, and support for memory mapped files.
包括读写文本文件的便捷方法,快速地列举目录,对内存映射文件的支持。
If data blocks aren't in memory, the server process fetches them from the data files and loads them.
如果数据块不在内存中,服务器进程会把它们从数据文件中读取并进行载入内存。
Adds support for exFAT, a file system that supports larger overall capacity and the larger files that are used in Flash memory storage and consumer devices.
添加exfat支持,支持更大容量的文件系统和在闪存存储和客户设备中使用的大型文件。
Adds support for exFAT, a file system that supports larger overall capacity and the larger files that are used in Flash memory storage and consumer devices.
添加exfat支持,支持更大容量的文件系统和在闪存存储和客户设备中使用的大型文件。
应用推荐