Skip to content

内存卸载不了的问题 #115

@Temozly

Description

@Temozly

使用unity嵌入到一个cocos导出的ios工程里面,从cocos主界面有一个按钮可以进入到unity,unity里面有一个按钮可以返回到cocos。现在发现,进入到unity,然后再返回到cocos,再进入unity,这样7 8 次之后,就会因为内存太大而导致crash,返回cocos的时候,调用了unload,进入unity调用的是showunity,通过xcode工程观察到 vm_allocate 确实变大了好多,怎么样才能卸载掉vm_allocate分配的内存,项目使用了ilruntime作为热更新的工具。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions