Closed yushiokamura closed 3 years ago
hi,
I use this module. when I try to encode a lot of word by fasttext model with mulitiprocessing.
a error MemoryError std::bad_alloc occurs. How is the memory allocated by molloc released?
MemoryError std::bad_alloc
https://github.com/facebookresearch/fastText/blob/a20c0d27cd0ee88a25ea0433b7f03038cd728459/webassembly/fasttext.js#L28
And, What should I do about memory errors?
hi,
I use this module. when I try to encode a lot of word by fasttext model with mulitiprocessing.
a error
MemoryError std::bad_alloc
occurs. How is the memory allocated by molloc released?https://github.com/facebookresearch/fastText/blob/a20c0d27cd0ee88a25ea0433b7f03038cd728459/webassembly/fasttext.js#L28
And, What should I do about memory errors?