|
Relates :
|
Tests for situatiion like in 6362318 should be developed.
VM should be able to correctly work when OOME happens even then thre is not enogh memory.
It is a common situation when in
try {} catch (Throwable t) {...}
block inside catch contains addition memory allocation. In this cases VM could throw another OOME but not just exit.
|