A new M_ZERO flag for malloc allows for memory allocation and zeroing in a single operation.
新的面向malloc的M_ZERO标记允许在单个操作中完成内存分配和调零。
A memory allocation algorithm was developed to maximize parallel data access and make full use of CPU processing ability to improve real-time performance of embedded multimedia applications.
为了提高嵌入式多媒体应用的实时性能,提出了一种最大化数据并行访问以便充分发挥CPU处理能力的片上存储器分配方法。
You can now configure a private memory cache for every CPUVP to decrease the time of server memory allocation on large multiprocessor computers.
现在可以为每个CPUVP配置一个私有内存缓存,以减少大型多处理器计算机上的服务器内存分配时间。
Sixty years into the computer age, we still aren't checking basic things like the success of opening a file or whether memory allocation succeeds.
计算机的诞生已进入了六十个年头,我们仍旧没有检查基本的东西,如成功打开一个文件及内存分配是否成功。
Conceptually, two operations create a data buffer under the conventional scheme: the creation of a data buffer entity and the allocation of actual memory.
从概念上讲,数据缓冲区在传统方案下是由两个操作创建的:数据缓冲区实体的创建和实际内存的分配。
As a result, the allocation of a sufficiently large object can fail if no free chunk of memory is large enough to satisfy the request.
结果,如果没有足够大的自由内存块能够满足请求的需要,则分配一个很大的对象就会失败。
A configuration item may be an environment variable or a change in the database configuration, such as its memory allocation.
配置项可以是环境变量或者数据库配置修改,例如数据库的内存分配。
Garbage collection (GC) will usually kick in when a memory allocation failure occurs.
当出现内存分配失败的时候,通常将启动垃圾收集(GC)。
For most collector implementations, the allocation subsystem keeps a pool of free heap memory, consumed by the application through allocating objects and replenished by the collector through sweeping.
对大多数收集器实现而言,分配子系统持有一个自由堆内存池,应用程序通过分配对象使用该池,然后由收集器通过清理来补充该池。
The most likely type is a memory problem, such as memory leak, heap fragmentation, or large object allocation.
最有可能的类型是内存问题,如内存泄漏、堆碎片、或者大对象分配。
The initial use of a system dump is to help diagnose crashes, hangs, or complex memory allocation issues in cases when the other types of dumps are insufficient or cannot be generated.
系统转储的最初用途是在其他类型的转储不足或无法生成时,帮助诊断崩溃、挂起或复杂的内存分配问题。
If we don't need to do a GC, allocation is 1 moving a pointer forward and 2 clearing the memory for the new object.
如果我们不需要进行GC,分配就是1将指针前移2为新对象清除内存。
First, it requires extra management work (allocation and freeing of memory block) wherever a buffer block is required.
首先,它要求在需要缓冲区块的任何地方进行额外的管理工作(分配和释放内存块)。
The LTMemory class represents an area of memory where the time to instantiate an object is the combination of a fixed allocation time and a variable initialisation time.
LTMemory类表示这样的内存域,在这里实例化一个对象的时间等于固定的分配时间加上不定的初始化时间。
Another approach, called buddy memory allocation, is a faster memory technique that divides memory into power-of-2 partitions and attempts to allocate memory requests using a best-fit approach.
另外一种方法称为buddymemory allocation,是一种更快的内存分配技术,它将内存划分为2的幂次方个分区,并使用best - fit方法来分配内存请求。
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.
它添加了已命名内存段的创建、一个回调函数的注册、以及文件的写入。
You can, for example, use a vector in much the same way as you would use an ordinary C array, except that vector eliminates the chore of managing dynamic memory allocation by hand.
举个例子,你可以使用vector就像使用普通的c数组,除了vector不能手工申请管理动态内存。
There might be lots of free memory, but if it is in small slices interspersed with live objects then no individual piece might be large enough to satisfy a particular allocation.
尽管可能有大量闲置内存,但如果它们只是一些小块,其间夹杂着活动对象,那么可能没有哪个碎块大到足以满足某个特定分配需求。
This calculation can overflow, which leads to an improperly sized memory allocation. This results in a heap overflow.
这种计算可以溢出,从而导致不恰当的内存分配进而产生这将导致堆溢出。
The CLR JIT can only track a fixed number of variables for register allocation; once it has to track more than this, it begins to spill the contents of registers into memory.
CLRJIT只能跟踪固定数目的寄存器分配变量;一旦需要跟踪的数目超出这个数目,它就开始将寄存器的内容移到内存中。
To understand the implications of these new features, we need to delve into the fine art of memory management a bit and consider why allocation overhead and speed are a big deal.
为了理解这些新增功能的含义,我们需要深入研究内存管理中的艺术,并考虑为什么分配开销和运行速度是大问题。
Consequently, it must incur a long pause to defragment, or compact, the heap to coalesce many smaller free memory areas into larger free memory areas to satisfy a large allocation request.
因此,必然会引发长时间的暂停来整理碎片或进行压缩,堆将很多小块的自由内存区域整合为一块大的自由内存区域,从而满足大型分配请求。
In this example, 201.3 MB have been allocated to the IBMDEFAULTBP, an over-allocation for a system with only 357 MB of memory.
在这个例子中,有201.3MB内存被分配给IBMDEFAULTBP,对于只有357 MB内存的系统来说,这是一种过度的分配。
If the allocation of parts of either memory or disk space have been exhausted before a calculation process is complete, your user will get an error message that memory or disk space has run out.
如果在计算处理完成之前,内存或磁盘空间的块分配已经耗尽,用户就会看到内存或磁盘空间用完的错误消息。
But if a synchronous GC occurs because of the second case — an out-of-memory error — this means the GC was unable to keep up with the application allocation.
但是如果因为第二种情况发生同步gc——内存不足错误——则意味着GC不能跟上应用程序分配。
This is usually a good thing, since dealing with memory allocation when building a high-level program is a highly error-prone process.
一般而言这是件好事,因为写高级程序时处理内存一个很容易出错的过程。
This is usually a good thing, since dealing with memory allocation when building a high-level program is a highly error-prone process.
一般而言这是件好事,因为写高级程序时处理内存一个很容易出错的过程。
应用推荐