Skip to content

[BUG] App goes out of memory after 0.24 release when using a smart list with is:inlist #1321

@thejudge22

Description

@thejudge22

Describe the Bug

Trying to edit a title of an existing bookmark. When I go to save the update the saving button spins for at least 1-2 mins. After that time, the save button highlights again but nothing happens when you click anything else. Refreshing gives the login page and login doesn't work.

Checking the docker logs shows this:

<--- Last few GCs --->

[69:0xffff982d0000] 114681 ms: Scavenge (interleaved) 2043.4 (2084.3) -> 2041.8 (2088.5) MB, pooled: 0 MB, 6.62 / 0.05 ms (average mu = 0.245, current mu = 0.160) allocation failure;

[69:0xffff982d0000] 115470 ms: Mark-Compact (reduce) 2043.2 (2088.5) -> 2041.0 (2081.5) MB, pooled: 0 MB, 771.17 / 0.14 ms (+ 5.9 ms in 0 steps since start of marking, biggest step 0.0 ms, walltime since start of marking 790 ms) (average mu = 0.192, cu

<--- JS stacktrace --->

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory

----- Native stack trace -----

Steps to Reproduce

  1. Go to an item.
  2. Click Edit
  3. Change the title
  4. Click Save

Expected Behaviour

Item saves without crashing.

Screenshots or Additional Context

No response

Device Details

Safari 18.4

Exact Karakeep Version

0.24.0

Have you checked the troubleshooting guide?

  • I have checked the troubleshooting guide and I haven't found a solution to my problem

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpri/highHigh priority issuestatus/approvedThis issue is ready to be implemented

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions