I am using Spring and Hibernate and try to upload large file but when i try to upload more then 150 Mb then it is generating error like
Caused by: java.lang.OutOfMemoryError: Map failed
at sun.nio.ch.FileChannelImpl.map0(Native Method)
at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:755)
... 157 more
I am using windows 64bit OS. After lots of googling i find that this is bug available in JDK. Can any one help me to solve this issue?
Some one write about this issue https://github.com/MLCL/Byblo/issues/78. but i am not sure this is bug or not. if bug then how can i resolve it. It any other appropriate solution for this.