然后,第二轮访问扫除未标记的对象,将未使用的闲置内存留作新分配之用。
A second pass then sweeps away the unmarked objects, leaving behind free memory than can be used for new allocations.
如果已经完成所有并发工作,或者闲置内存提前耗尽,则将中止应用程序并完成收集工作。
Once all the concurrent work is done, or if free memory is exhausted ahead of schedule, the application is halted and the collection is completed.
尽管可能有大量闲置内存,但如果它们只是一些小块,其间夹杂着活动对象,那么可能没有哪个碎块大到足以满足某个特定分配需求。
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.
这意味着每个闲置代理可以保留最多8MB的私有内存。
That means each idle agent can retain up to 8mb of its private memory.
如果有100个闲置代理,那么这些代理将保留800MB的内存,因此它们很快就会耗尽ram。
If you have 100 idle agents, then 800mb of memory is retained by these agents, so they eat up RAM quite quickly.
当代理变成闲置代理时,它仍然保留了其代理的私有内存。
When an agent becomes idle, it retains its agent private memory.
如果代理闲置了较长的一段时间,则其代理私有内存将被调出。
Agent private memory may be paged out if the agent has been idle for a long time.
为了避免这种情况,DB2 使用一个注册表变量来限制每个闲置代理可以保留的内存量。
To avoid this, DB2 has a registry variable which limits the amount of memory each idle agent can retain.
如果有很多的闲置代理,并且所有这些闲置代理都保留了它们的私有内存,那么就可能导致系统耗尽内存。
If there are many idle agents and all of them retain their private memory, it is possible that the system runs out of memory.
如果对象池大小没有正确调优,许多未使用的对象实例最终会被闲置,耗尽内存而不产生任何价值。
If the pool size is not tuned correctly, many unused object instances can end up hanging around, using up memory without contributing value.
结果,窗体及其所有关联的类都闲置在内存中。
Consequently, the form and all of its associated classes were left dangling in memory.
这会导致闲置空间块变得尽可能的大,但也可能会将关系密切的对象(例如string及其char数据)移动到临近的内存位置。
This results in the largest possible block of free space, but also tends to move objects that are closely related (for example, a String and its char data) into nearby memory locations.
清除系统事件日志每小时当手机闲置释放应用程序的内存。
Clear the system Event Log hourly when the phone is idle to free up application memory.
清除系统事件日志每小时当手机闲置释放应用程序的内存。
Clear the system Event Log hourly when the phone is idle to free up application memory.
应用推荐