Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.2.0
-
None
-
None
Description
When the data size is bigger than 50% of available memory, it will throws an OOM exception :/
int dataSize = (int) (Runtime.getRuntime().maxMemory() * 0.60); ByteMessage msg = new ByteMessage(Bytes.toBytes("tag"), new byte[dataSize]);