-
Expected behavior
If I config |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The cleaner adds a bit of overhead when freeing memory, but not much, and it won't impact the system if you use the pooling allocator. |
Beta Was this translation helpful? Give feedback.
The cleaner adds a bit of overhead when freeing memory, but not much, and it won't impact the system if you use the pooling allocator.
Ideally you want to avoid frequent calls to
System.gc()
- it's either disabled in the JVM (so whatever it's hoping to fix, likely won't be), or it incurs a big cost to the system performance.