In France, you can use more nuclear power plants and in Italy more garbage power plants.
在法国,你可以使用更多和能发电,在意大利使用更多垃圾电厂。
What would happen in your life, starting today, if you let more garbage trucks pass you by?
从今天开始,如果你让垃圾车经过身旁,你的生活将会发生何种变化?
Instead, more memory is requested from the CLR heap and this incurs more garbage collection overhead than using the buffers.
相反,如果从clr堆请求更多的内存,这将带来比使用缓冲区更多的垃圾回收系统开销。
Notice that increasing this value might cost more garbage collection activities if memory allocated for each task is not large enough.
注意,如果给每个任务分配的内存不够大,增加这个值可能会导致更多垃圾收集活动。
Similarly, more garbage collections occur when a system is under heavy load, which makes it more likely that a garbage collection will occur before the callback.
同样道理,系统负载过大时会发生更多垃圾回收,进而使得垃圾回收更有可能在回调之前发生。
Creating many objects also tends to increase heap fragmentation, which leads to even more garbage collection cycles. For example, do not create objects prematurely.
创建许多对象还容易增加堆碎片,而这会导致出现更多的垃圾回收周期。
By the end of the six hour shift they have removed enough garbage to fill more than two large trucks.
在六小时轮班结束时,他们已经移走了足够装满两辆大卡车的垃圾。
This accounts for our reaction to seemingly simple innovations like plastic garbage bags and suitcases on wheels that make life more convenient:"How come nobody thought of that before?"
这就解释了我们对塑料垃圾袋和带轮行李箱等看似简单的发明的反应:“为什么以前没有人想到这一点?”
This accounts for our reaction to seemingly simple innovations like plastic garbage bags and suitcases on wheels that make life more convenient: "How come nobody thought of that before?"
这就解释了为什么当我们看到像塑料垃圾袋和带轮行李箱这些让生活更方便且看似简单的发明时,我们的反应是:“为什么以前没有人想到这个?”
On the other hand, one friend thought her Diaper Genie (a diaper disposal device) was nothing more than an over-engineered difficult-to-use garbage can.
另一方面,一个朋友认为她的尿片妖怪(一个尿片清理设备)简直就是一个超功能的难用的垃圾筒。
If response time is more important than highest possible throughput, this garbage collector might be a good choice.
如果响应时间比最高流量更重要,这个垃圾收集器可能是一个不错的选择。
This way, the garbage collector will obtain more breathing space, decreasing the probability of a full GC.
通过这种方式,垃圾收集器将获得更多空间并减少完全GC的可能性。
Even better, you can run your program for a long, long time, ensuring that you trigger many garbage collections, more accurately amortizing the allocation and garbage collection cost.
更好一些的话,您可以长时间运行您的程序,这可以保证触发许多垃圾收集,从而更精确地分摊垃圾收集的成本。
More generally, holding on to object references that could be discarded reduces the amount of generated garbage but tends to hurt GC.
通常,持有可以丢弃的对象引用会减少生成的垃圾数量,但是这样会损害GC。
As a result, performance can degrade as the decreased available heap memory leads to more frequent garbage collection.
因此,随着可用堆内存的减少而导致更频繁的垃圾回收,性能可能会降低。
Increasing the JVM heap size permits more objects to be created before an allocation failure occurs and triggers a garbage collection.
通过增加jvm堆大小,可以在出现分配故障并触发垃圾收集之前创建更多对象。
Knowing how much time your system spends in GC is all well and good, but how does more time spent doing garbage collection actually affect the performance of your system?
了解您的系统将多少时间花费在垃圾收集上,这是很有必要的,但是将过多的时间花费在垃圾收集上将会对系统的性能产生怎样的影响呢?
They filled the pits with unsorted garbage, then dug more pits and so it has gone.
人们向坑里填进未分类的垃圾,然后再挖更多的坑,所以垃圾就不见了。
With this system the school learned where it needed more trash and recycling bins, as well as how the flow of garbage changed over the academic year.
有了这个系统,学校就可以知道哪里需要更多垃圾箱,知道一学年当中垃圾是如何变化的。
Now it aims to speed up the methane production cycle from years to a matter of days at the same time as cutting the need for more land to bury garbage.
现在他们的目标是加快甲烷产品的生产周期,从几年变成几天,同时减少对掩埋更多垃圾的土地需求。
Another problem that is more general would be an expanding heap that never seems to shrink, despite active garbage collection.
另一个更普遍的问题是,看似从不会压缩的扩展堆,却有活跃的垃圾收集。
Setting to the latter may increase the incidences of garbage collection and make more pages available, but may impact performance.
设置为后者可以提高垃圾收集的效果,让更多页面可用,但是可能影响性能。
At this point, the JVM will first attempt to make more memory available by invoking the garbage collector.
当可用内存不能满足需求时,JVM将首先尝试通过调用垃圾收集来释放出更多的可用内存。
See Resources for a number of articles offering more detailed garbage collection tuning advice.
有关微调垃圾收集的更多细节请参阅参考资料中的几篇文章。
The more objects that are created, the more frequently the JVM garbage collector has to reclaim memory and, at least partially, interrupt request handling at that time.
创建的对象越多,JVM垃圾回收器就必须更频繁地回收内存并会(至少部分)中断此时的请求处理。
All this adds up to perhaps 100m tonnes of floating garbage, and more is arriving every day.
这些漂浮的垃圾加起来重100吨,而且每天都在增加。
Iwalk down the hall, glancing in the bedrooms. Utter chaos; clothes, garbage, more newspapers.
我走向大厅,看了一眼卧室,完全是一种混乱的景象;衣服,垃圾,还有大量的报纸。
If garbage collection is occurring more than once every 10 seconds, or the heap utilization is running more than 70% of the heap, then you'll want to consider increasing the heap size.
如果垃圾回收每10秒发生超过一次,或者堆利用率超过堆的70%,那么可以考虑增加堆大小。
Sun Research have published a paper (PDF document) which provides more details on Garbage-First and provides some information on how these objectives, in particular the real-time goal, are achieved.
Sun研究小组发表了一篇论文(pdf格式)更加详尽地论述了Garbage - First并深入分析了如何实现这些目标,尤其是实时目标。
To learn more about how the .NET Framework’s Garbage Collector works, you can refer to the MSDN Documentation as well as this article by Andrew Hunter.
想要了解更多关于.NET Framework垃圾回收器的工作原理,你可以参考MSDN文档以及Andrew Hunter的这篇文章。
应用推荐