[pymvpa] MemoryError when running tutorial_lib.py

Yaroslav Halchenko debian at onerussian.com
Mon Aug 22 14:54:21 UTC 2011

FWIW -- pushed (into master only) the commit [1] to use psutil
module to report virtual memory (and resident allocation) in debug
output so if you use MVPA_DEBUG_METRICS=vmem, it should work now across
platforms if you have psutil module (python-psutil package on debian
systems) installed.

[1] https://github.com/PyMVPA/PyMVPA/commit/0b0ddf5a2586475f119696e4de344b59391ca1a0

On Mon, 22 Aug 2011, Yaroslav Halchenko wrote:

> On Mon, 22 Aug 2011, 冯璐 wrote:
> >    Im new to Python. I have learnt some elementary knowledge before I come
> >    to PyMVPA. But I dont know how to easily check the memory consumption.
> >    My system is Windows XP (32bit). Now Im using IPython. Is there any
> >    magic function for me to check the memory consumption?

> http://www.google.com/search?q=python%20memory%20consumption%20windows

> btw within pymvpa we have a way to trace memory consumption (but only on
> linuxes ... we should make it agnostic, contributions are welcome), e.g.
> do

> MVPA_DEBUG_METRICS=vmem MVPA_DEBUG=.* python -c 'import mvpa.suite'

> >    ONE MORE QUESTION. When I use the following statement to load modules,
> >    there are several warnings. They have been attached with this mail.

> those seems to be ok -- sorry about the noise
Keep in touch                                     www.onerussian.com
Yaroslav Halchenko                 www.ohloh.net/accounts/yarikoptic

More information about the Pkg-ExpPsy-PyMVPA mailing list