From: Ildar Mulyukov <ildar@altlinux.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] Как дебажить питон?
Date: Wed, 05 Dec 2007 15:00:46 +0600
Message-ID: <1196845246l.23651l.1l@ildar.innovations.kz> (raw)
In-Reply-To: <20071205070734.GC12338@basalt.office.altlinux.org> (from inger@altlinux.org on Wed Dec 5 13:07:34 2007)
On 05.12.2007 13:07:34, Stanislav Ievlev wrote:
> On Tue, Dec 04, 2007 at 06:50:54PM +0300, Grigory Batalov wrote:
> > Как вы обычно обнаруживаете и устраняете утечку памяти?
> Так там же вроде как GC ... надо наверное ему как-то лимиты
> закручивать.
точно-точно! Я решал подобную задачу.
ulimit -v 400000
python scrypt.py
По опыту использования - нормально работает. Но иногда дохнет с Memory
error - видимо, когда ему _действительно_ нужна эта память. (у меня это
зависит от входных данных -> script.py)
С уважением, Ильдар
--
Ildar Mulyukov, free SW designer/programmer/packager
=========================================
email: ildar@altlinux.ru
Jabber: ildar@jabber.ru
ICQ: 4334029
ALT Linux Sisyphus http://www.sisyphus.ru
=========================================
next prev parent reply other threads:[~2007-12-05 9:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-04 15:50 Grigory Batalov
2007-12-05 7:07 ` Stanislav Ievlev
2007-12-05 7:33 ` Grigory Batalov
2007-12-05 9:00 ` Ildar Mulyukov [this message]
2007-12-08 12:46 ` Michael Shigorin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1196845246l.23651l.1l@ildar.innovations.kz \
--to=ildar@altlinux.ru \
--cc=devel@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git