强制垃圾收集 (Force Garbage Collection) 需要一份说明。 门关(Gate) 门关(Gate)将允许您将一个信号传递给Out键,具体取决于门关(Gate)的状态。
基于1个网页-相关网页
它还提供了一个工具栏按钮,必要时可以强制JVM执行垃圾收集。
It also provides a toolbar button to force the JVM to perform garbage collection when desired.
就本例而言,我发现只须添加一个窗体,将它删除,然后强制执行垃圾收集,结果就会导致与被删除窗体相关联的许多类实例仍然处于活动状态。
For this example, I found that simply adding a form, deleting the form, and then forcing a garbage collection resulted in many class instances associated with the deleted form to still be alive.
虽然内存使用从没蔓延,但是我们的应用在每妙秒中处理和映射200个命令时强制的执行了有意义的垃圾收集。
Although memory use never crept up, our application forced significant garbage collection when processing and mapping 20 commands per second.
应用推荐