Solve “Requested array size exceeds VM limit” Error in Java
There is a limit on the declaration of maximum array size in java. So whenever we face the OutOfMemoryError i.e, Requested array size exceeds VM limit it means that the program is trying to allocate a particular size to an array that is larger than the size supported by the virtual machine. Cause of Error …
Solve “Requested array size exceeds VM limit” Error in Java Read More »