, Java, GC, OutOfMemoryException, - , .
, , .
, , :
: , . , , , , . incase - , , GC, , -, . -, , GC, .
Regardless, these are just general ideas from my head on how to improve performance when allocating memory. What I'm trying to do is that the question of how to raise the OutOfMemory error faster and not allow the Java GC to best try to free up space on the heap is not a great IMO idea. Optimize your application.
source
share