Program eating memory, but only on one machine?
Wolfgang Draxinger
wdraxinger at darkstargames.de
Mon Jan 22 10:15:23 EST 2007
Per B. Sederberg wrote:
> Python 2.4.4c1 (#2, Oct 11 2006, 20:00:03)
> [GCC 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)] on
> [linux2 Type "help", "copyright", "credits" or "license" for
> more information.
Doesn't eat up.
> Python 2.4.3 (#1, Apr 7 2006, 10:54:33)
> [GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin
> Type "help", "copyright", "credits" or "license" for more
> information.
Doesn't eat up.
> Python 2.4.4 (#1, Jan 21 2007, 12:09:48)
> [GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-49)] on linux2
> Type "help", "copyright", "credits" or "license" for more
> information.
Eats up memory
> So, does anyone have any suggestions for how I can debug this
> problem?
Have a look at the version numbers of the GCC used. Probably
something in your C code fails if it interacts with GCC 3.x.x.
It's hardly Python eating memory, this is probably your C
module. GC won't help here, since then you must add this into
your C module.
> If my program ate up memory on all machines, then I would know
> where to start and would blame some horrible programming on my
> end. This just seems like a less straightforward problem.
GCC 3.x.x brings other runtime libs, than GCC 4.x.x, I would
check into that direction.
Wolfgang Draxinger
--
E-Mail address works, Jabber: hexarith at jabber.org, ICQ: 134682867
More information about the Python-list
mailing list