spaCy icon indicating copy to clipboard operation
spaCy copied to clipboard

Unintuitive out-of-memory error message

Open henningpeters opened this issue 10 years ago • 2 comments

Out-of-memory isn't properly handled, see #236.

Error reports include:

Error in `python': free(): invalid next size (normal): 0x000000000dfff920 ***
Aborted (core dumped)
Error in `python': free(): invalid pointer: 0x0000000005fff4a8 ***

henningpeters avatar Jan 28 '16 11:01 henningpeters

Thanks. Definitely agree that there's a problem here.

Likely candidates are the raw calls to PyMem_Malloc and PyMem_Realloc in thinc. Mostly memory allocation goes via the cymem library, which I believe is checking status codes correctly.

honnibal avatar Jan 28 '16 11:01 honnibal

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar May 09 '18 09:05 lock[bot]