Java off-heap memory and JVM memory understanding

https://www.jianshu.com/p/50be08b54bee
used opencv JavaCpp when doing the project. If the off-heap memory can only be cleared during full GC, if the JVM does not GC, the off-heap memory is full, causing the program to crash.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325855285&siteId=291194637