Project

General

Profile

Actions

Bug #15646

closed

Huge quantity of memory not released after generation

Added by Nicolas CHARLES over 1 year ago. Updated over 1 year ago.

Status:
Released
Priority:
N/A
Category:
Performance and scalability
Target version:
Severity:
User visibility:
Effort required:
Priority:
0

Description

at the end of the generation, all nodeconfigurations are kept in memory, while they should be dismissed
in DeploymentService, we return the keyValues of the updatedNodeConfigs - andd it somehow keeps a reference to the map, preventing it to be garbage collected

on large install (3500 nodes with hundred of directives per nodes), it uses 3.5Go

It seems it was introduced in 5.0.9 or 5.0.10


Related issues

Related to Rudder - Bug #15648: ComplianceLevels number keep growing in memoryResolvedActions
Actions #1

Updated by Nicolas CHARLES over 1 year ago

  • Status changed from New to In progress
  • Assignee set to Nicolas CHARLES
Actions #2

Updated by Nicolas CHARLES over 1 year ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Nicolas CHARLES to François ARMAND
  • Pull Request set to https://github.com/Normation/rudder/pull/2443
Actions #3

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 5.0.14 to 5.0.13
Actions #4

Updated by Nicolas CHARLES over 1 year ago

  • Status changed from Pending technical review to Pending release
Actions #5

Updated by François ARMAND over 1 year ago

This is maybe a Scala bug, tracked here: https://github.com/scala/bug/issues/11727

Actions #6

Updated by François ARMAND over 1 year ago

  • Subject changed from Memory Leak in Rudder 5.0 to Huge quantity of memory not released after generation
Actions #9

Updated by Vincent MEMBRÉ over 1 year ago

This bug has been fixed in Rudder 5.0.13 which was released today.

Actions #10

Updated by Vincent MEMBRÉ over 1 year ago

  • Related to Bug #15648: ComplianceLevels number keep growing in memory added
Actions #11

Updated by Vincent MEMBRÉ over 1 year ago

  • Status changed from Pending release to Released
Actions

Also available in: Atom PDF