This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author William.Schwartz
Recipients William.Schwartz, ned.deily, pitrou, ronaldoussoren
Date 2018-10-10.00:01:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1539129661.57.0.545547206417.issue5614@psf.upfronthosting.co.za>
In-reply-to
Content
In Jupyter Notebook, I tried to pass a large amount of data (about 2.3 GB) to Statsmodels's KDEUnivariate.fit (https://www.statsmodels.org/dev/generated/statsmodels.nonparametric.kde.KDEUnivariate.fit.html#statsmodels.nonparametric.kde.KDEUnivariate.fit) with kernel='cos'. In the Notebook, I got a MemoryError exception and traceback (which unfortunately I have since lost).

In the terminal where I was running the Jupyter server, the Python 3.7 kernel spat out:

Python(86244,0x7fff91104380) malloc: *** mach_vm_map(size=465845322670080) failed (error code=3)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug

The MemoryError coming up in the Notebook interface is the correct behavior, but I wanted to bring to your attention that the malloc junk on stderr happens even outside of Python's tests.

I'm on macOS 10.13.5.
History
Date User Action Args
2018-10-10 00:01:01William.Schwartzsetrecipients: + William.Schwartz, ronaldoussoren, pitrou, ned.deily
2018-10-10 00:01:01William.Schwartzsetmessageid: <1539129661.57.0.545547206417.issue5614@psf.upfronthosting.co.za>
2018-10-10 00:01:01William.Schwartzlinkissue5614 messages
2018-10-10 00:01:01William.Schwartzcreate