A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-October/029315.html below:

[Python-Dev] tests failing in 2.2.2

[Python-Dev] tests failing in 2.2.2 [Python-Dev] tests failing in 2.2.2Martin v. Loewis martin@v.loewis.de
07 Oct 2002 21:22:12 +0200
Guido van Rossum <guido@python.org> writes:

> That's strange -- that test is specifically designed to fail before it
> ever gets to allocating memory.  Can you track this down with a
> debugger?

Notice that this test does not strictly achieve that: with a four-byte
pointer, you attempt to allocate 0x20000000L items (due to
roundupsize), which is small enough to try a realloc. In turn, it
tries to allocate 0x80000000L bytes, i.e. 2GB. On a 32-bit machine, it
is possible to allocate that much memory.

Regards,
Martin



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4