Skip to content

Reducing default stack size from 8 MB to 8 KB - is it possible? #486

@medvednikov

Description

@medvednikov

Hi,

I reduced the default stack size from 8 MB to 8 KB. Surprisingly RAM usage remained the same in our test program which launches thousands of coroutines. Also they take a lot more time.

Is there a certain minimum it can't be lower than?

Go uses 2-4 KB, I thought it'd be possible with photon as well.

Thanks.

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