angulartics2 icon indicating copy to clipboard operation
angulartics2 copied to clipboard

data layer grows until it reaches the limit of 300

Open dottodot opened this issue 5 years ago • 0 comments

For support questions, please consider using Gitter - Chat

I'm submitting a ...

  • [x ] bug report
  • [ ] feature request
  • [ ] question about the decisions made in the repository

While checking for memory leaks I have realised that the data layer just keeps growing that is until it reaches the 300 limit that tag manager has.

Not too sure it has much impact on performance but if you were capturing a lot of actions that limit could be reached quite quickly and you would lose any actions being recorded after the limit was reached.

Aree there any recommended way to overcome this issue?

  • Environment:
Angular CLI: 6.2.3
Node: 8.11.3
OS: darwin x64
Angular: 6.1.8
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, platform-server, router
... service-worker

Package                            Version
------------------------------------------------------------
@angular-devkit/architect          0.8.2
@angular-devkit/build-angular      0.8.2
@angular-devkit/build-optimizer    0.8.2
@angular-devkit/build-webpack      0.8.2
@angular-devkit/core               0.8.3
@angular-devkit/schematics         0.8.3
@angular/cdk                       6.4.7
@angular/cli                       6.2.3
@angular/material                  6.4.7
@angular/material-moment-adapter   6.4.7
@angular/pwa                       0.7.5
@ngtools/webpack                   6.2.2
@schematics/angular                0.7.5
@schematics/update                 0.8.3
rxjs                               6.3.2
typescript                         2.9.2
webpack                            4.19.0

dottodot avatar Sep 27 '18 17:09 dottodot