Project

General

Profile

Bug #15646

Huge quantity of memory not released after generation

Added by Nicolas CHARLES 2 months ago. Updated about 2 months 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 memoryNewActions

Associated revisions

Revision 94138464 (diff)
Added by Nicolas CHARLES 2 months ago

Fixes #15646: Memory Leak in Rudder 5.0

History

#1

Updated by Nicolas CHARLES 2 months ago

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

Updated by Nicolas CHARLES 2 months 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É 2 months ago

  • Target version changed from 5.0.14 to 5.0.13
#4

Updated by Nicolas CHARLES 2 months ago

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

Updated by François ARMAND 2 months ago

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

#6

Updated by François ARMAND 2 months ago

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

Updated by Vincent MEMBRÉ 2 months ago

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

#10

Updated by Vincent MEMBRÉ about 2 months ago

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

Updated by Vincent MEMBRÉ about 2 months ago

  • Status changed from Pending release to Released

Also available in: Atom PDF