Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

flox's latest activity

Saturday, August 18 2012
117 Memory not released immediately with named cursors was updated in psycopg
  • flox
    • Title changed from Memory leak with named cursors to Memory not released immediately with named cursors
    by flox at 8:49 AM
  • flox
    flox commented at 8:48 AM

    I am running this on Debian Squeeze.
    It's possibly related to the way the memory is allocated then released.

    I don't have other test case than the "testmem.py" ...

Friday, August 10 2012
117 Memory leak with named cursors was updated in psycopg
  • flox
    flox commented at 11:57 PM

    I changed the test_fetch() function to release the memory.
    For some reason, "del big_var" is not enough. A "gc.collect()" call is required.

    def test_fetch(curs...
  • flox
    • Assigned user cleared.
    by flox at 11:26 PM
  • flox
    flox commented at 11:25 PM
  • flox
    • Assigned user set to Daniele Varrazzo
    by flox at 11:24 PM

    This is the test file attached.

    And the output:

    $ python testmem.py psycopg2 version 2.4.5 (dt dec pq3 ext)
    Record size: 1024 B; Memory used: 8.8 MB
    Record size...

Thursday, November 17 2011
75 it stammers on error "could not connect" was updated in psycopg
  • flox
    flox commented at 8:52 PM

    Right, it seems that this message comes from libpq.

    I see that the message you have is more informative than the one I got: it shows which IP is tried on each t...

Sunday, November 06 2011
74 segfault reading isolation_level on closed connection was updated in psycopg
  • flox
    flox commented at 1:36 AM

    Seems fixed with the @devel branch.

    
    >>> 
    >>> import psycopg2 as pg
    >>> print pg.__version__
    2.4.3.dev0 (dt dec pq3 ext)
    >>> cnx = pg.connect(dsn=dsn)
    >>> cnx....
75 it stammers on error "could not connect" was updated in psycopg
  • flox
    flox commented at 1:33 AM

    It's even worse on the @devel branch

    >>> import psycopg2 as pg
    >>> print pg.__version__
    2.4.3.dev0 (dt dec pq3 ext)
    >>> pg.connect('host=localhost')
    Traceback ...
Saturday, November 05 2011
75 it stammers on error "could not connect" was created in psycopg
  • flox
    flox created the ticket at 11:55 PM

    When it resolves the hostname, the error message is duplicated.
    When you pass an IP address, the error message is correct.

    (Ubuntu 64 bits)

    >>> print __import_...