memory leak

Discussion in 'Python' started by Daniel Wheeler, Dec 21, 2004.

  1. Can python leak memory even if the reference count for all the objects
    is not increasing?

    For example:

    for i in range(N):
    print ref_count_all_objects()
    do_something()

    and every iteration the ref count is constant but the memory usage is
    increasing. What are the likely
    problems?

    Thanks

    -------------------------------------
    Daniel Wheeler
    Telephone: (301) 975-8358
     
    Daniel Wheeler, Dec 21, 2004
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?Y3liZXJzdHJpa2U=?=

    datagrid memory leak?

    =?Utf-8?B?Y3liZXJzdHJpa2U=?=, Jan 3, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    596
    =?Utf-8?B?Y3liZXJzdHJpa2U=?=
    Jan 3, 2005
  2. =?Utf-8?B?SWxhbiBPc3Npbg==?=

    .Net Seems to be Causing DLL Memory Leak?

    =?Utf-8?B?SWxhbiBPc3Npbg==?=, Feb 28, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    664
    Amit Bahree
    Mar 9, 2005
  3. chintan jajal via .NET 247

    Delegates Memory Leak!!!

    chintan jajal via .NET 247, May 26, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    2,408
    chintan jajal via .NET 247
    May 26, 2005
  4. Andromodon

    Memory leak in Xilinx? Code error?

    Andromodon, Mar 30, 2005, in forum: VHDL
    Replies:
    2
    Views:
    1,776
    Andromodon
    Apr 1, 2005
  5. s.subbarayan

    Dynamic memory allocation and memory leak...

    s.subbarayan, Mar 18, 2005, in forum: C Programming
    Replies:
    10
    Views:
    1,006
    Eric Sosman
    Mar 22, 2005
  6. Richard Heathfield

    Leak or no leak ??

    Richard Heathfield, Jul 10, 2006, in forum: C Programming
    Replies:
    4
    Views:
    550
    Richard Heathfield
    Jul 10, 2006
  7. cham
    Replies:
    5
    Views:
    1,009
  8. Mark Probert
    Replies:
    4
    Views:
    548
    Mark Probert
    Feb 9, 2005
Loading...