Note that there are some explanatory texts on larger screens.

plurals
  1. POpyamf, 0.6.1, memory leaks
    primarykey
    data
    text
    <p>Following increasing memory usage by the server using PyAMF, after several hours of digging, I noticed that the reason is the pyamf library in version 0.6.1 installed by easy_install. This error occurred on Ubuntu 12.04 on both: 64 bit and 32 bit versions. Below is a report from the <code>valgrind massif</code> tool.</p> <pre><code>-------------------------------------------------------------------------------- Command: python build_web/web2py.py -a root --minthreads=1 --maxthreads=1 --nogui Massif arguments: --depth=50 ms_print arguments: massif.out.492 -------------------------------------------------------------------------------- MB 31.69^ # | @@::@# | @@ :@:::::@ : @# | ::: :@ :::::@: :: @ : @# | : ::::::: ::@ : : :@: :: @ : @# | ::::::: ::: ::@ : : :@: :: @ : @# | ::: ::: ::: ::@ : : :@: :: @ : @# | ::::@::@::::::: ::: ::: ::@ : : :@: :: @ : @# | ::::::: : @: @::: ::: ::: ::: ::@ : : :@: :: @ : @# | :@@::: :: : : @: @::: ::: ::: ::: ::@ : : :@: :: @ : @# | ::::::::::::@ ::: :: : : @: @::: ::: ::: ::: ::@ : : :@: :: @ : @# | :: ::: ::: :@ ::: :: : : @: @::: ::: ::: ::: ::@ : : :@: :: @ : @# | ::::::: ::: ::: :@ ::: :: : : @: @::: ::: ::: ::: ::@ : : :@: :: @ : @# | :: : :: ::: ::: :@ ::: :: : : @: @::: ::: ::: ::: ::@ : : :@: :: @ : @# | :: : :: ::: ::: :@ ::: :: : : @: @::: ::: ::: ::: ::@ : : :@: :: @ : @# | :: : :: ::: ::: :@ ::: :: : : @: @::: ::: ::: ::: ::@ : : :@: :: @ : @# | :: : :: ::: ::: :@ ::: :: : : @: @::: ::: ::: ::: ::@ : : :@: :: @ : @# | :: : :: ::: ::: :@ ::: :: : : @: @::: ::: ::: ::: ::@ : : :@: :: @ : @# | :: : :: ::: ::: :@ ::: :: : : @: @::: ::: ::: ::: ::@ : : :@: :: @ : @# | :: : :: ::: ::: :@ ::: :: : : @: @::: ::: ::: ::: ::@ : : :@: :: @ : @# 0+-----------------------------------------------------------------------&gt;Ti 0 2.678 </code></pre> <p>The solution, working on my case, is to use <code>cpyamf</code> or install the pyamf package using pip <code>pip install pyamf</code>, because this command install <code>cpyamf</code> as well and the <code>__init.py__</code> contains the conditional import i.e.</p> <pre><code>try: from cpyamf import amf3 except ImportError: from pyamf import amf3 </code></pre> <p>Could You give me explanation what is happen?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload