内存绝不会被应用程序显式释放,而是被垃圾收集器定期回收。
Memory is never explicitly freed by the application but is instead reclaimed periodically by the garbage collector.
内存清理工具会有效的通过利用虚拟内存来释放内存,所以当你使用应用程序的时候注意不要使用这个功能。
The memory cleaner would essentially free up memory by dumping to the virtual memory, so make sure you don’t use it when you are working in an application.
postfree_checking postfree_checking 使得MALLOCDEBUG报告对已释放的内存进行访问的尝试,然后中止该程序。
postfree_checking postfree_checking causes MALLOCDEBUG to report attempts to access freed memory, and then abort the program.
Purify还可以报告内存泄漏——比如,当一个程序在丢失内存跟踪之前不能释放一个或者更多的内存板块时。
Purify also reports memory leaks — i.e., when a program fails to release one or more blocks of memory before losing track of the memory.
您可能会忘了跟踪所有指针(指向这些内存位置),并且某些内存段没有释放,还保持分配给该程序。
You might forget to keep track of all the pointers (pointing to these memory locations), and some of the memory segments are not freed and stay allocated to the program.
许多程序都非常消耗内存—它们占用了大量的RAM,而且当其他程序需要的时候也不会释放内存空间。
Many programs are memory consumption - they occupy a large amount of ram, and when other procedures, when necessary, and will not release memory space.
避免在处理器中释放内存的最好方法是,标记或记录将要释放的对象,让程序不间断地检查是否有等待被释放的内存。
The best way to avoid freeing memory in a handler is to flag or record the objects to be freed and have the program check from time to time whether anything is waiting to be freed.
当页面惟一时,它们可以被合并,从而释放内存,供其他应用程序使用。
And when pages are unique, they can be consolidated, which frees memory for use in other applications.
该方法释放您先前创建的内存块,并使得从分配程序例程返回的所有指针失效。
It frees every memory block you created earlier and invalidates all the Pointers returned from the allocator routines.
当空闲的物理内存较少时,可以将最近没有使用过的程序从RAM转移到分页空间,以帮助释放物理内存,从而完成更多的实际工作。
When free physical memory starts getting low, programs that have not used recently are moved from ram to paging space to help release physical memory for more real work.
即使影响提前释放内存范围的代码已本地化,内存的使用仍然可能取决于应用程序甚至(在极端情况下)不同进程中的其他执行位置。
Even if the code affecting the prematurely-freed memory range is localized, use of the memory might depend on execution elsewhere in the application or, in extreme cases, even in a different process.
人们期望程序在完成任何操作后释放分配的内存,并允许系统和其他程序员使用该内存。
The program is expected to release allocated memory when it has completed any operations, and let the system and other programs use that memory.
如您所见,在这个分配程序中,内存的释放使用了一个非常简单的机制,在固定时间内完成内存释放。
As you can see, in this allocator, freeing memory is done in constant time, using a very simple mechanism.
当内核映像被加载到内存中,并且阶段2 的引导加载程序释放控制权之后,内核阶段就开始了。
With the kernel image in memory and control given from the stage 2 boot loader, the kernel stage begins.
如果程序没有把内存释放回系统,则称为内存泄露。
When a program does not release the memory back to the system, it is called a leak.
另一方面,像文件句柄和套接字句柄这类非内存资源必须由程序显式地释放,比如使用close()、destroy()、shutdown()或release() 这样的方法来释放。
On the other hand, nonmemory resources like file handles and socket handles must be explicitly released by the program, using methods with names like close(), destroy(), shutdown(), or release().
举个最奇怪的例子,一些早期版本的Unix分配器允许程序员realloc已经被释放了的内存。
For the oddest example, some early versions of Unix allocators allowed programmers to realloc memory that had already been freed.
如果这个程序从还没有被初始化的内存中读取,或者读取或者改写已经被释放或者仍然存在于分配区域之外的内存,您将看到一个Purify错误报告。
If the program reads from memory that hasn't been initialized, or reads or writes memory that has been freed or lies beyond the ends of allocated blocks, you will see a Purify error report.
report_allocations report_allocations将报告在应用程序退出时所有未释放的内存分配。
Report_allocations report_allocations reports all memory allocations that were not freed at application exit.
这个方法foo调用程序strdup,它分配内存,使用这个内存,然后释放它。
The method foo calls method strdup , which allocates memory, USES that memory, and then frees it.
这就释放了WebSphere 程序-变更管理员服务器中使用的大量本地内存,而这正是CM 服务器 7.1.0.0 以及7.1.0.1 版本中经常观察到的问题。
This solved the excessive native memory use in the WebSphere Application-Change Manager Server, which was a problem observed with CM Server 7.1.0.0 and 7.1.0.1 releases.
如果应用程序的一个线程分配内存,而其他线程释放内存,那么poolallocation实际上是无效的。
Pool allocation does not work effectively if one thread of the application allocates memory and other thread frees the memory.
关闭所有不重要的应用程序,释放正在使用的内存。
Free up the memory in use by closing any nonessential applications.
当程序没有释放其不再需要的内存时也会发生内存不足的问题。
Low memory problems can also occur when a program does not free up memory that it no longer needs.
推出不常使用的应用程序,以释放内存,或者在你的电脑上安装更多的内存。
Quit unused applications to free up memory, or install more memory in the computer.
本文介绍了在使用小内存的情况下,如何让系统与内存合理的搭配,如何释放更多的内存空间,让程序运行的速度变快。
The use of small memory, the memory system and how to make a reasonable match, how to release more memory space and let the program run faster.
应用程序有责任释放任何用于这块缓存的动态内存。
Are responsible for freeing any dynamic memory you use for this buffer.
实例表明,该程序作为一个模型数据提取及模型数据处理平台,解决了海量图形数据存取时容易发生的速度慢、内存释放困难问题。
A case study shows that as a platform of model data reading and model data management, this program solves the problems of lowly speed reading and different to release of EMS memory .
实例表明,该程序作为一个模型数据提取及模型数据处理平台,解决了海量图形数据存取时容易发生的速度慢、内存释放困难问题。
A case study shows that as a platform of model data reading and model data management, this program solves the problems of lowly speed reading and different to release of EMS memory .
应用推荐