For example, a memory chunk allocated with malloc in Module 3 can be freed in Module 2 with free. It is because both malloc and free calls will end up in the same instance of CRT.
例如,模块3使用malloc所分配的一段内存空间可以由模块2释放,因为对malloc和free的调用都是由同一个CRT对象实现的。
When you call a function, what actually happens is that function gets its own chunk of memory that's identical in size to the data type that it expects.
当你调用一个函数,实际上发生的是函数得到了自己的内存块,它的大小与它期望的数据类型相同。
It's a pointer to this chunk of memory.
它是指向这块内存的指针。
You have to wait for the speaker to deliver quite a chunk of language before you then put it into the second language, which puts your short-term memory under intense stress.
你必须等说话者传递完大量的语言信息之后才能把它们翻译成第二种语言,这会让你的短期记忆承受巨大的压力。
Well, if that function calls another function, you put another tray on, and so that new tray represents that function's chunk of memory.
好的,如果那个函数调用另一个函数,你再放一个托盘在上面,新的托盘代表,那个函数的内存块。
When a process allocates memory it does so by first reserving virtual memory and then committing memory out of this chunk (this is the memory actually used).
一个进程分配内存时,它是这样进行的:首先,预定虚拟内存;然后,提交内存到该块中(这是实际使用的内存)。
Well, there's a chunk of memory called the heap that you can grab as much memory as you want so long as it exists for your program.
好的,这里有一块叫做堆的内存,这样你就可以获得你想要那么多的内存,因为它为你的程序而存在。
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.
结果,如果没有足够大的自由内存块能够满足请求的需要,则分配一个很大的对象就会失败。
Since a big chunk of memory was blocked and left unused, that was the reason memory was getting exhausted completely.
一大块内存被阻塞并且不能得到使用,这就是内存完全耗尽的原因。
Well, if you want to call a function, it's like putting another tray on that stack of trays and that tray represents a chunk of memory that, that function can use.
嗯,如果你想调用一个函数,这就像把一个托盘放到另一个托盘上,托盘代表一块,函数可以使用的内存。
Once this request has been handled and a response sent back, this chunk can be unloaded - nothing need remain in memory.
一旦处理完请求并送回响应,该块就可以卸载了——内存中不用保留任何内容。
AIX does not store information about which code path allocated a particular chunk of memory by default, so this information is not easy to get.
AIX未存储关于哪些代码路径默认分配了特定内存块的信息,但这些信息很容易获得。
A shard is a real, physical chunk of memory that stores the contents of a partition.
碎片是一个实际的物理内存块,它存储分区的内容。
Otherwise, it accesses the Chunk that can provide the memory, clears the required number of blocks, and returns the location of the first allocated block.
否则,它访问能够提供内存的Chunk,清空块的请求数目,并返回第一个被分配的块的位置。
So the heap is a chunk of memory in a computer's RAM that's conceptually allocated to what's called dynamic memory allocation.
堆是在计算机RAM中的一块内存,它可以进行,动态内存分配。
Also, invoking mmap and mfree is much slower than carving out an existing chunk of memory.
还有,调用mmap和mfree比雕刻出一个已存在的内存块慢许多。
Chunks of memory carry around with them size information fields both before and after the chunk. This allows for two important capabilities.
内存块在它的前面和后边都携带他们的大小信息字段。
Yeah, a pointer to this chunk of memory.
是的,一个指向这块内存的指针。
Another way to avoid synchronization issues is to allocate a large chunk of global memory and break it into smaller slots, where each slot is to be used by one thread for logging.
另一种避免同步问题的方法是,分配一个很大的全局内存块,并将其划分为较小的槽位,其中每个槽位都可由一个线程用来进行日志记录。
The processor might perform dozens or hundreds of operations on a chunk of data in the cache before relinquishing it to memory.
处理器可能会在将一个数据块交还给内存前对这块数据执行数十或数百次操作。
When this happens, the next contiguous chunk of memory is overwritten.
发生缓冲区溢位时,会覆写下一个相邻的记忆体块。
The value-add is the ability to chunk up data and store them in a grid, with varying degrees of redundancy, which allows for processing of very large data sets entirely in memory.
另外还有一些新的功能,用于将数据区块化存储到网格中,使用不同级别的冗余,以及在内存中处理超大型的数据集。
Be aware that if large pages are enabled, the operating system will set aside a large continuous chunk of memory for use by the JVM.
需要注意,如果启用了大分页,则操作系统会留出一大块相阾的内存区供jvm使用。
You're incrementing this chunk of memory.
你增加了这一块内存。
So A gets 1, B gets 2, now the swap function itself starts executing line by line; so I declare a chunk of memory called temp.
所以A等于1,B等于2,现在swap函数自己开始,一行一行地执行,所以我声明了,叫做temp的一块内存。
So, now I have x pointing at a chunk of memory what's in this memory though?
那么,现在x指向一块内存,内存中是什么呢?
So that means if you-- whether you own a Mac, PC or whatever, you have a whole chunk of RAM memory which you can draw for instance as a rectangle, if you can't quite see.
也就是说,无论你的电脑是Mac也好,PC也好或其他什么的,你会有厚厚一块RAM存储器,我们可以把它画成长方形,你们有可能看不到。
Note: Currently if your data contains very big rows, it may be necessary to disable this option or increase the memory dedicated to the data chunk memory manager in case of client deadlocks.
注意:当前,如果数据包含非常大的行,可能需要禁用此选项或增加数据区块内存管理器专用的内存以防止客户端死锁。
Because it is at the border, it is the only chunk that can be arbitrarily extended (via sbrk in Unix) to be bigger than it is (unless of course sbrk fails because all memory has been exhausted).
因为它在边界处,它是唯一一个可以任意的扩展(通过Unix的sbrk系统调用)成更大的块(除非因为所有的内存已经被消耗光了导致sbrk失败)。
Because it is at the border, it is the only chunk that can be arbitrarily extended (via sbrk in Unix) to be bigger than it is (unless of course sbrk fails because all memory has been exhausted).
因为它在边界处,它是唯一一个可以任意的扩展(通过Unix的sbrk系统调用)成更大的块(除非因为所有的内存已经被消耗光了导致sbrk失败)。
应用推荐