Wordcloud returns an error when files exceed 15MB

Author: FabienBounoirCreated Feb 9, 2024Updated May 16, 2025

Description

Wordcloud returns an error when files exceed 15MB.

Steps/Code to Reproduce

To reproduce the error, simply provide a text file larger than 15MB; the library will return a 'killed' error.

Expected Results

Ensure that the library does not terminate the program and that it accepts files larger than 15MB.

Actual Results

The librar terminate the program when files exced 15MB.

Versions

Linux-5.4.0-126-generic-x86_64-with-glibc2.29 Python 3.8.10 (default, Nov 14 2022, 12:59:47) [GCC 9.4.0] NumPy 1.24.1 matplotlib 3.6.3 wordcoud 1.8.2.2