This error was reported during the training of 15W pieces of data recently, but I only used 60% of my local memory. After solving it, record it.
After checking, it should be the problem of Python bits. At first, my local is 32 bits.
If your Python is 32-bit, your pandas and numpy can only be 32-bit. When your memory usage exceeds 2G, the memory will be automatically terminated
Later, it was changed to 64 bit, and there was no error
Read More:
- python MemoryError: Unable to allocate 165. MiB for an array with shape
- UserWarning: Failed to initialize NumPy: No module named ‘numpy.core._multiarray_umath‘
- Unable to call numpy in pychar, module notfounderror: no module named ‘numpy’
- ImportError: numpy.core.multiarray failed to import
- Python_ Part 2 programming problems (3)_ solve numpy.core.multiarray Failed to import problem
- numpy.core.umath How to solve the problem of failed to import
- When VS code imported Cv2, an error ImportError: numpy.core.multiarray failed to import; There are no mistakes in using the Spyder
- Jumper notebook, import numpy, prompt “importerror: DLL load failed: unable to find the specified module”
- django.core.exceptions . improverconfigured: mysqlclient 1.4.0 or new is required; you have
- Warning when using numpy: runtimewarning: numpy.dtype size changed, may indicate binary incompatibility
- Failed to load bundle…Unable to resolve module `xxx` from xxx: Module `xx` does not exist
- [Python error] memoryerror
- Python error memoryerror
- django.core.exceptions . improveconfigured: error loading MySQL DB module. Django configuring MySQL database
- Unknown code: GB18030
- : – 1: error: lnk1168: unable to open xxx.exe for writing
- Methods to avoid fail to allocate bitmap errors in pyplot
- Python memoryerror (initializing a large matrix)
- As Error:Failed to find configured root that contains /storage/emulated/0/xxx/xxx/xxx.png
- Springboot error, unable to read configuration file: could not resolve placeholder ‘xxx’ in value “${XXX}