Skip to content

bugs around cancelledJobs_ in JavaScriptJobManagerImpl #1141

Description

@jogger2510

I have trouble with websites no longer updating. A suitable website exposing the bugs is https://tradingeconomics.com/btcusd:cur, as it updates 24/7.

cancelledJobs_ has the only function of killing periodic jobs. Whenever I take a heap dump, there always is a one-time job in the queue that later appears in cancelledJobs_, which makes absolutely no sense and does nothing.

cancelledJobs_ is full of job ID 0 (=zero), about 25%, pointing to a bug somewhere else.

The implementation of cancelledJobs_ itself is a memory leak, > 100,000 entries/day/window, something like LRUMap would help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions