Skip to content

疑似内存泄漏问题 #193

@atrueman2021

Description

@atrueman2021

内存在逐步增加,内存插桩显示ctypes每次都会新增很多字节,还不清楚是什么原因导致的。

情景1:
for i in range(100000):
with objc.autorelease_pool():
print(i)
time.sleep(0.01)

情景2:
data = pyobj2nsobj(emu, XXX)
for i in range(100000):
o = objc.find_class("XXSDK").call_method("sharedInstance").call_method("XXXSign:", data).call_method( "UTF8String")
print(o)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions