Any new process of this issue? . On Monday, September 26, 2011 9:12:09 PM UTC+8, [email protected] wrote: > > when you running The C++ implementation for Python. > > >>> from proto import test_pb2 > >>> r = tes_pb2.SkillResult() > >>> import gc > >>> gc.set_debug(gc.DEBUG_LEAK) > >>> gc.garbage > [] > >>> gc.collect() > 0 > >>> gc.set_debug(gc.DEBUG_LEAK) > >>> gc.collect() > 0 > >>> del r > >>> gc.collect() > gc: collectable <SkillResult 0x26d012ec> > gc: collectable <ExtensionDict 0xd5ebbec> > gc: collectable <dict 0x26d052d4> > 3 > >>> > >>> gc.garbage > [<proto.test_pb2.SkillResult object at 0x26d012ec>, > <google.protobuf.internal.cpp_message.ExtensionDict object at > 0xd5ebbec>, {'_cmsg': > <google3.net.google.protobuf.python.internal._net_proto2___python.CMessage > object at 0xd5eb560>, '_message': <proto.test_pb2.SkillResult object > at 0x26d012ec>, '_values': {}}] > >>> > > our env need to disable the gc. now we only can use the pure python > implementation, it without the recycle leak problem. Can anyone told > me how to workaround this problem, thanks.
-- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To view this discussion on the web visit https://groups.google.com/d/msg/protobuf/-/kt-3FsZhXPAJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.
