Skip to content

[BUG]: While creating new items in a checklist app freezes and cannot load #359

@FonduemangVI

Description

@FonduemangVI

Describe the bug

I have just recently setup jotty page. While adding new checklists and items to said checklists jotty page freezes and I get a timeout error.
I am running jotty with SSO and via a reverse proxy (SWAG) when the freeze occurs I can see what looks like a memory leak and heavy CPU usage.
Restarting or destroying the container does not help. As soon as it's started again I cannot load the page and I get a timeout and I can see the memory start climbing again.

Eventually the container hits approx 4gb RAM usage and then crashes

<--- Last few GCs --->
[1:0x72c08e885650] 782963 ms: Mark-Compact 4019.3 (4131.1) -> 4005.7 (4131.6) MB, 2129.03 / 0.85 ms (average mu = 0.145, current mu = 0.066) task; scavenge might not succeed
[1:0x72c08e885650] 785077 ms: Mark-Compact 4019.4 (4131.6) -> 4006.3 (4132.1) MB, 1971.82 / 0.77 ms (average mu = 0.107, current mu = 0.067) task; scavenge might not succeed
<--- JS stacktrace --->
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
----- Native stack trace -----
Container stopped
Container started

I cannot see anything that makes sense in the nginx logs

Steps to Reproduce

N/A

At this point I am not sure if the issue is the usage of the reverse proxy or not. However when initially creating a new instance of jotty page there is no issue to start with. This occurs after a bit of usage and the creation of a few lists

How do you run Jotty?

Docker

Jotty Version

1.18.0

Checklist

  • I have searched across other issues to make sure this bug has not been already reported.

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedThis has been accepted and will be worked onto be deployedBeen worked on and will be deployed in the next release

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions