JVM GC JFastText
zhenxianyimeng opened this issue · comments
after loadmodule
JFastText jft = new JFastText();
jft.loadModel(modelFIle);
jft=null;
when JVM gc collect jft happens System will crash with error
ava(53882,0x70000cfe0000) malloc: *** error for object 0x1000000000000000: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
I cannot reproduce the error. Perhaps the error was caused by model loading.