grafana / grafana/pyroscope-nodejs

Growing memory over time / Memory Leak

Open
#91 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
51
Forks
36
PR merge metrics
No merged PRs in 30d

Description

Hi,

I've been encountering a weird behaviour on k8s with some nodejs apps and pyroscope, as over the time, memory is growing indefinitely.

I've tried different docker image base OS (Alpine with node 18, node:20-bullseye-slim), setting pods replicas on k8s to 1, but without a luck.

### Installed Pyroscope version

```
"@pyroscope/nodejs": "^0.3.11",
```

### Usage in code
Screenshot 2024-08-26 at 11 47 35

### Memory usage over time
Screenshot 2024-08-26 at 11 46 24

Screenshot 2024-08-26 at 11 53 02

### As it's getting more strange, the pyroscope itself does not seem any memory growth

## Self
Screenshot 2024-08-26 at 11 53 37
Screenshot 2024-08-26 at 11 53 56

## Total
Screenshot 2024-08-26 at 11 55 43
Screenshot 2024-08-26 at 11 55 57

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.