vinhkhuc / JFastText

Java interface for fastText
Other
228 stars 100 forks source link

JVM GC JFastText #20

Open zhenxianyimeng opened 6 years ago

zhenxianyimeng commented 6 years ago

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

lidalei commented 6 years ago

I cannot reproduce the error. Perhaps the error was caused by model loading.