perspective-broker

Python Memory usage doesnt drop

烂漫一生 提交于 2019-12-11 06:09:44
问题 I am writing a twisted PB application that seems to use a very large amount of memory that never seems to get released when the user disconnects. I have a pb.Root object that clients connect to and invoke a remote method that returns a pb.Referenceable object this object reads a large amount of information into memory (about 2GBs worth of data) when it is created to speed up the actions. This object, along with some other information about the client is inserted into a list. When the client