(no subject)

  • With some OPC servers you may have to set an explicit update rate when
    using a read group. Example...

    opc.read(tags, group='MyGroup', update=1)

    where the update rate is specified in seconds.

    On Mon, Dec 23, 2013 at 11:21 AM, Mohannad Shaheen mohsh86@users.sf.netwrote:

    hi, i tried reading using group, the memory leak stops, but that data is
    not updating at all !, it just gets the data of the first read, and with
    the old time stamp too..

    any suggestions ?

    Status: open
    Created: Sun Oct 06, 2013 04:28 PM UTC by Difool
    Last Updated: Sun Oct 13, 2013 12:09 AM UTC
    Owner: Barry Barnreiter

    It seems to have memory leakage with OpenOPC.

    For example, the following code consume about 100ko at each iteration :

    import OpenOPCwhile True:
    client.connect('CODESYS.OPC.DA')
    res = client.read(client.list("PLC2.Application.GVL.*"))
    client.close()

    (Question also asked on StackOverflow :
    http://stackoverflow.com/questions/19137947/why-my-app-leaks-memory-how-to-avoid-memory-leakage
    )


    Sent from sourceforge.net because you indicated interest in
    https://sourceforge.net/p/openopc/bugs/9/

    To unsubscribe from further messages, please visit
    https://sourceforge.net/auth/subscriptions/

     

    Related

    Bugs: #9