-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IOError: malloc error #11
Comments
I can recreate with:
my file is ~25MB |
same issue here. |
Can you retry with the newest version? |
I thinkt this issue can be closed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Code:
import pyedflib
import numpy as np
f = pyedflib.EdfReader("example.edf")
n = f.signals_in_file
signal_labels = f.getSignalLabels()
sigbufs = np.zeros((n,f.getNSamples()[0]))
for i in np.arange(n):
sigbufs[i,:] = f.readSignal(i)
print sigbufs
####################
Error:
/usr/bin/python2.7 "/media/tauqs/main_partition/Tauqueer/Academics/8th Sem/BTP/Preprocessing.py"
Traceback (most recent call last):
File "/media/tauqs/main_partition/Tauqueer/Academics/8th Sem/BTP/Preprocessing.py", line 3, in
f = pyedflib.EdfReader("example.edf")
File "_pyedflib.pyx", line 91, in pyedflib._extensions._pyedflib.CyEdfReader.init (pyedflib/_extensions/_pyedflib.c:2519)
File "_pyedflib.pyx", line 125, in pyedflib._extensions._pyedflib.CyEdfReader.open (pyedflib/_extensions/_pyedflib.c:3076)
File "_pyedflib.pyx", line 101, in pyedflib._extensions._pyedflib.CyEdfReader.check_open_ok (pyedflib/_extensions/_pyedflib.c:2679)
IOError: malloc error
Process finished with exit code 1
The text was updated successfully, but these errors were encountered: