对象从堆中分配;因此,使用的和空闲的堆内存数量是两个非常重要的统计信息。
Objects are allocated from the heap; thus the amount of heap memory both used and free are two very important statistics.
在使用对象池时,分配、初始化、回收和终结只发生一次,从而减少了内存使用和所需的处理时间。
When using an object pool, the allocation, initialization, collection, and finalization only occur once, reducing both the memory usage and the processing time that is required.
希望分配了大量连续内存区域但这些内存不马上同时使用的程序常常结合使用保留内存和提交内存。
Programs that want to allocate a large and contiguous area of memory but don't need it all immediately often use a combination of reserved and committed memory.
人们期望程序在完成任何操作后释放分配的内存,并允许系统和其他程序员使用该内存。
The program is expected to release allocated memory when it has completed any operations, and let the system and other programs use that memory.
虽然不是非常完美,但这些技术能造成分配内存量和实际使用量之间的实际差异。
While not perfect, these techniques can result in a substantial difference between the amount of memory that is allocated and the amount actually used.
您可以根据需求变更内存和磁盘分配(从而改变使用云所需的成本)。
You can change the memory and disk allocations (and thus the cost of using the cloud) on demand.
在第1种情况中,我们使用了两个有内存分配问题的样本程序,使用MEMWATCH和YetAnotherMallocDebugger (YAMD)工具来调试它们。
For Scenario 1, we use two sample programs with memory allocation problems that we debug using the MEMWATCH and Yet Another Malloc Debugger (YAMD) tools.
通过一个预先分配的Runnable对象和一个单独的作用域,在错误发生时,您就应该总是能够报告问题,而无需使用任何内存。
With a preallocated Runnable object and a separate scope, you should always be in a position to report a problem without using any memory in the context the error occurred.
错误的内存使用在使用内存分配和释放的函数不匹配时发生。
Incorrect memory use occurs when functions used for allocating and de-allocating memory do not match.
当月末处理完成时,然后可以使用一个名为 Non_Month_End的概要来激活该分区,为该分区分配少量的内存和CPU。
When the processing at the end of the month is complete, you could then activate the partition using a profile named Non_Month_End that allocates a small amount of memory and CPU.
您可以使用IBMDB 2服务器的SelfTuningMemoryManager (STMM)来测量和分析DB 2数据库内存的消耗情况,同时动态地分配内存以优化负载性能。
You can use IBM DB2 server's Self Tuning memory Manager (STMM) to measure and analyze how DB2 database memory is consumed, and dynamically reallocate memory to optimize workload performance.
该代理的Informix端口中使用的表的实际模式(清单1)包括分配和使用多少虚拟内存。
The actual schema of the table (Listing 1) used in the Informix port of this agent includes how much virtual memory is allocated and used.
Linuxslab分配器使用了这种思想和其他一些思想来构建一个在空间和时间上都具有高效性的内存分配器。
The Linux slab allocator uses these ideas and others to build a memory allocator that is efficient in both space and time.
方法在分析内存泄漏的基础上,通过重新实现动态内存分配和释放函数,记录内存分配的确切位置并跟踪动态内存的使用情况。
Based on the analysis of memory leak, the method overloads the allocation function and overrides the free function to store the allocation spot and trace the dynamic memory allocation.
内存分配器必须的数据结构来组织关于内存的分配和释放内存块的信息使用。
The memory allocator must use some memory for data structures to organize information about blocks of memory that are allocated and freed.
内存分配器必须的数据结构来组织关于内存的分配和释放内存块的信息使用。
The memory allocator must use some memory for data structures to organize information about blocks of memory that are allocated and freed.
应用推荐