Java.lang.OutOfMemoryError: Direct buffer memory

The issue happens in the running application not jMP.

By default you get 64MB of direct buffer memory, loading a large texture like 4048x4048 resolution is about 66~ MB which will reach this limit.

You can change the amount of direct memory available by passing the -XX:MaxDirectMemorySize= command to the JVM.