Project

General

Profile

Bug #15646

Huge quantity of memory not released after generation

Added by Nicolas CHARLES about 1 year ago. Updated about 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
#1

Updated by Nicolas CHARLES about 1 year ago

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

Updated by Nicolas CHARLES about 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
#3

Updated by Vincent MEMBRÉ about 1 year ago

  • Target version changed from 5.0.14 to 5.0.13
#4

Updated by Nicolas CHARLES about 1 year ago

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

Updated by François ARMAND about 1 year ago

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

#6

Updated by François ARMAND about 1 year ago

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

Updated by Vincent MEMBRÉ about 1 year ago

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

#10

Updated by Vincent MEMBRÉ about 1 year ago

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

Updated by Vincent MEMBRÉ about 1 year ago

  • Status changed from Pending release to Released

Also available in: Atom PDF