Skip to content
This repository was archived by the owner on Oct 26, 2022. It is now read-only.
This repository was archived by the owner on Oct 26, 2022. It is now read-only.

Switch Domain.java constructors to use ephemeral TDB databases instead of in-memory #121

@ibaldin

Description

@ibaldin

An Exo controller slowdown triggered investigation into memory use. Heap dump showed that active slices were consuming large amounts of RAM (on the order of 100M each) by storing in-memory ad models acquired from the broker. The problem appears in Domain.java constructors that create a model in-memory.

An initial trivial attempt to switch those to TDB Ephemeral resulted in

  • Jenkins running out of memory on tests (!)
    and
  • Tests by @hinchliff showing a significant degradation in performance (a slowdown factor of 3-4 in tests).

We should investigate this further, this thread is the place to dump findings and conclusions

A related issue in controller JVM configuration was discovered that limited actual heap to 4G (see RENCI-NRIG/exogeni#143) using Tanuki wrapper.

@YufengXin

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions