Skip to content

Investigate memory issues #134

Open
Open
@oxalorg

Description

@oxalorg

Our app process for https://clojurians-log.clojureverse.org/ keeps running out of memory.

I've already done some investigation with jmap and visualvm to find some places where memory might be leaking.

image

We need to figure out what exactly is causing this, or if we simply have too little ram?

Last ditch effort would be to move away from datomic to postgresql, but since datomic handles so many production instances well, I think we can figure out the problem and solve it.

Temporary fix

Simply restarting the app server resolves the issue for a couple days (a week or so) before OOM error happens again. But this causes some problems with cloudflare caching, so we don't want to rely on this for long.

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