In this case, the Settings for the individual heaps are soft limits; they can grow during memory usage peaks.
在这种情况下,个别堆的设置是软限制的,它们可以在内存使用的峰值期间进一步增长。
Weak, soft, and phantom references can improve the memory characteristics of your application by allowing flexible caching.
弱引用、软引用和虚引用允许灵活的缓存,能够改进应用程序的内存特性。
As the following example shows, weak references and soft references are powerful tools for fixing memory leaks.
如以下示例所示,弱引用和软引用都是解决内存泄露的强大工具。
应用推荐