Bug when loading files

11 views
Skip to first unread message

David Reyes

unread,
Feb 21, 2019, 11:28:30 AM2/21/19
to hyperspy-users
Hi everyone,

Is anyone having a problem when loading the data? I keep getting the error message below.

Any insights would be highly appreciated.

Error.PNG



Best,

David

Thomas Aarholt

unread,
Feb 21, 2019, 11:32:14 AM2/21/19
to hyperspy-users
Hi David, 
It looks like you're running out of ram. How large is the file you're trying to open? 

Try loading the file with hs.load(filename, lazy=True), and read more about lazy loading in the docs.

Alternatively, buy more ram :) 

Cheers, 
Thomas 

--
You received this message because you are subscribed to the Google Groups "hyperspy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hyperspy-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

David Reyes

unread,
Feb 22, 2019, 7:36:34 AM2/22/19
to hypersp...@googlegroups.com
Hi Thomas,

The file was huge! Using lazy was a great idea, problem solved now. Thanks a lot for your help.

Best,

David
Reply all
Reply to author
Forward
0 new messages