[SciPy-user] memory usage

Emanuele Zattin emanuelez@gmail....
Thu Aug 9 08:16:40 CDT 2007


yeah i noticed that as well.
i think i'm on the right way now... i think this is all due to the
heavy use of broadcasting i did in order to optimize performance... i
might as well try to go with some inline C code with nested for loops.

On 8/9/07, lorenzo bolla <lbolla@gmail.com> wrote:
> first of all: congratulations! :-)
> I've experienced some memory leaks using ipython: if you are using it, try
> using the bare python interpreter...
> L.
>
>
> On 8/9/07, Emanuele Zattin <emanuelez@gmail.com> wrote:
> >
> > Hello,
> >
> > i'm finally done with my implementation of a comet detector so right
> > now i need to tweak some parameters.
> > It makes quite a heavy use of images and big arrays so it's quite
> > hungry of memory, so hungry that right now it will fill up the 768
> > megabytes of memory of my machine in no time.
> > i would like to investigate the reasons and find a solution so i think
> > i need to know more about python's way to manage memory.
> > for example... do i need to delete arrays i don't use anymore? if so...
> how?
> > do i need to close images after i've read data from them?
> >
> > any hint for debugging and profiling is welcome!
> >
> > --
> > Emanuele Zattin
> > ---------------------------------------------------
> > -I don't have to know an answer. I don't feel frightened by not
> > knowing things; by being lost in a mysterious universe without any
> > purpose — which is the way it really is, as far as I can tell,
> > possibly. It doesn't frighten me.- Richard Feynman
> > _______________________________________________
> > SciPy-user mailing list
> > SciPy-user@scipy.org
> > http://projects.scipy.org/mailman/listinfo/scipy-user
> >
>
>
> _______________________________________________
> SciPy-user mailing list
> SciPy-user@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user
>
>


-- 
Emanuele Zattin
---------------------------------------------------
-I don't have to know an answer. I don't feel frightened by not
knowing things; by being lost in a mysterious universe without any
purpose — which is the way it really is, as far as I can tell,
possibly. It doesn't frighten me.- Richard Feynman


More information about the SciPy-user mailing list