Skip to content

C stack usage error #378

@TomWeishaar

Description

@TomWeishaar

I have a shiny app under development that is designed to run continuously on an Amazon Lightsail instance with 1 core and 4G memory. It's at dev.open-meta.org/app.

The app has never crashed while I'm using it, but it has now crashed several times while I'm not using it, always with a C stack usage error. The most recent crash is quite interesting, here's the message:

Error: C stack usage  1031500945536 is too close to the limit
Execution halted

How can I have a 1031 Gig C Stack on an instance with only 4 Gigs of memory?

Google searches suggest the C stack usage error is usually caused by out-of-control recursion. I don't have anything like that in my code.

Is this a Shiny-Server, R, or Linux error? Do you have any further ideas for debugging what's happening?

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