4 ms·
There is a System.gc() call which is essentially what you described, but it doesn't help with allocations freezing the UI for memory intensive applications
by rohan404 12y ago
There is a System.gc() call which is essentially what you described, but it doesn't help with allocations freezing the UI for memory intensive applications