Skip to content

System.OutOfMemoryException when I use more Task #15

@onlyu1106

Description

@onlyu1106

I use script.post with 31 threads (31 Android devices) and it runs stably. However, from the 32nd thread onwards, I encounter a System.OutOfMemoryException. The memory gets filled up because the Script is not being released. I've tried various solutions: reducing the number of concurrent threads, adding delay time after each script.post, but none have resolved the issue. It would be great if CLR had an rpc method like Python. I apologize if my English is not good.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions