Proper data structure is designed to solve the problems such as CUDA does not support pointer, dynamically memory allocating and to avoid synchronization as much as possible.
同时设计了相应的数据结构,克服了CUDA没有指针、不能动态申请资源、尽量避免同步操作等问题。
So both of these stories involve floating point values, but only in this case am I actually allocating memory.
所以这两个故事都涉及到浮点类型,但是只有那样我们才能真正地分配到内存。
There might not be enough disk space to complete the file write operation, or allocating the buffer could fail if not enough memory is available.
可能没有足够的磁盘空间来完成该文件的写操作,或者由于没有足够的内存可用,分配缓冲区可能失败。
By using a constant string, you avoid allocating memory, copying the string, and the transcoding process.
通过使用常量字符串,可以避免分配内存、复制字符串和编码转换过程。
Worse, a cache miss when allocating an object on the heap has a particularly nasty memory interaction.
更糟的是,在堆上分配对象时,缓存遗漏还有一个特别讨厌的内存交互。
For example, the code must call certain runtime routines in the JVM runtime to perform specific actions, such as looking up an unresolved method or allocating memory.
例如,代码必须调用JVM运行时中的某些运行时例程来执行特定操作,如查找未解析的方法或分配内存。
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.
对大多数收集器实现而言,分配子系统持有一个自由堆内存池,应用程序通过分配对象使用该池,然后由收集器通过清理来补充该池。
It is necessary for an application programmer who is allocating a buffer to know how much memory to allocate for each character.
应用程序开发人员需要知道,分配缓冲区时应该给每个字符分配多大内存。
When allocating memory from the heap, the contents of that memory are garbage — whatever bits happen to be left over from the last time that memory was used.
在从堆中分配内存时,不管上次使用内存之后留下了什么内容,内存中的内容都被当作垃圾。
This was achieved through dynamic Logical Partitioning (DLPAR) -the process of dynamically allocating additional CPU or memory servers to a running LPAR.
这种功能是通过动态逻辑分区(DLPAR)实现的,也就是将附加的CPU或者内存服务器动态地分配给一个正在运行的LPAR。
Allocating blocks of zero-filled memory the library may need.
分配程序库可能需要的由零填充的内存块。
Allocating memory for non-PDQ queries.
为非pd Q查询分配内存。
The libraries that implement these requirements are called allocators, because they are responsible for allocating and deallocating memory.
实现这些需求的程序库称为分配程序(allocators),因为它们负责分配和回收内存。
What if the process was in the middle of allocating additional memory on its heap using malloc, and you call malloc from the signal handler?
如果当进程正在使用malloc在它的堆上分配额外的内存时,您通过信号处理器调用 malloc,那会怎样?
Common problems with allocating database Shared memory on 32-bit aix.
位aix上与分配数据库共享内存有关的常见问题。
Common problems with allocating database Shared memory on 32-bit Linux.
位Linux中与分配数据库共享内存有关的常见问题。
Common problems with allocating database Shared memory on 32-bit Sun solaris.
位SunSolaris中与分配数据库共享内存有关的常见问题。
Common problems with allocating database Shared memory on 32-bit hp-ux.
位HP -UX上与分配数据库共享内存有关的常见问题。
This algorithm tends to be memory efficient (allocating what's necessary) but requires more time to manage the heap.
这种算法通常具有较高的内存使用效率(分配需要的内存),但是却需要花费更多时间来对堆进行管理。
At the same time, with Oracle Database 10g, make sure that the LOCK_SGA Oracle initialization parameter is set to TRUE, so that Oracle request large pages when allocating Shared memory.
同时,对于OracleDatabase10g,请确保将LOCK_SGA Oracle初始化参数设置为TRUE,这样一来,Oracle会在分配共享内存时请求较大的页面。
The StringBuilder class in the System.Text namespace joins strings together without allocating a new string instance each time; this efficiency greatly improves memory utilization.
Text命名空间中的StringBuilder类无须每次分配新的字符串实例即可将字符串连接在一起;这一效率大大改进了内存的利用。
Another common problem with allocating database Shared memory on Solaris is due to the fact that all pages of a Shared memory segment are pinned in physical RAM.
Solaris中另一个与分配数据库共享内存有关的常见问题是由于这样的一个事实导致的,即共享内存段的所有页都是固定在物理ram中的。
Mempool_alloc is for allocating objects; if the mempool allocator fails to provide memory, then the pre-allocation pool will be used.
mempool_alloc用来分配对象;如果内存池分配器无法提供内存,那么就可以用预分配的池。
If you're allocating native resources (memory on the native heap, file descriptors, or whatever), it can be significantly more difficult to arrange timely collection of these resources.
如果你分配了native资源,及时回收这些资源是很困难的。
Soon after that, the kernel starts swapping some of those pages to disk in anticipation of having to allocate memory to the process that's allocating memory.
在此之后,如果内核预计必须为请求内存的进程分配内存,它就会开始把一些页面交换到磁盘。
Understanding how DB2 USES memory prevents you from over-allocating memory, and helps you tune memory use for better performance.
理解DB 2如何使用内存,可以防止过度分配内存,并有助于对内存的使用进行调优,从而获得更好的性能。
The concept involves pre-allocating a pool of memory and reserving it until it is actually needed.
其思想是预分配一个内存池,并保留到真正需要的时候。
Reserving native memory is not the same as allocating it.
保留本机内存与分配它不同。
Reserving native memory is not the same as allocating it.
保留本机内存与分配它不同。
应用推荐