Traceback (most recent call last):


 "/tornado_api/handlers/embeddingLaserHandler.py", line 195, in post

embeddings = vector_embedding.embedding_line(model=model_laser,lang=lang,bpe_codes=QUALITY_MODEL_PATH + "/93langs.fcodes",input_text=text)


 "/tornado_api/deeplearning/vector_embedding.py", line 50, in embedding_line

embeddings.append(t.result()[0].tolist() )


 "/usr/lib/python3.6/concurrent/futures/_base.py", line 432, in result

return self.__get_result()


 "/usr/lib/python3.6/concurrent/futures/_base.py", line 384, in __get_result

raise self._exception


 "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run

result = self.fn(*self.args, **self.kwargs)


 "/tornado_api/deeplearning/similarity_search.py", line 99, in pipeline

lower_case=lower_case)


 "/tornado_api/deeplearning/lib/text_processing.py", line 62, in TokenLine

shell=True)


 "/usr/lib/python3.6/subprocess.py", line 336, in check_output

**kwargs).stdout


 "/usr/lib/python3.6/subprocess.py", line 403, in run

with Popen(*popenargs, **kwargs) as process:


 "/usr/lib/python3.6/subprocess.py", line 709, in __init__

restore_signals, start_new_session)


 "/usr/lib/python3.6/subprocess.py", line 1275, in _execute_child

restore_signals, start_new_session, preexec_fn)
OSError: [Errno 12] Cannot allocate memory

Traceback (most recent call last):


 "site-packages/torch/_utils_internal.py", line 46, in get_source_lines_and_file


 "inspect.py", line 955, in getsourcelines


 "inspect.py", line 786, in findsource
OSError: could not get source code
