Skip to content

Excessive memory usage after ldap sync #15737

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
huseyinulas opened this issue May 27, 2025 · 1 comment
Open

Excessive memory usage after ldap sync #15737

huseyinulas opened this issue May 27, 2025 · 1 comment
Labels
in linear Issue or PR has been created in Linear for internal review

Comments

@huseyinulas
Copy link

Bug Description

I activated LDAP and triggered a synchronization. After the sync, I noticed that the system created a "personnel project" for each LDAP user in the database.
As a result, on the n8n dashboard page, all personnel projects are loaded without pagination or filtering on initial load. Since a project is created per user by ldap sync, a large amount of data is fetched into memory, causing a significant increase in browser RAM usage.

endpoint path : /rest/projects

To Reproduce

  1. Activate LDAP
  2. Start Ldap Sync
  3. Go to dashboard
  4. Check memory usage of browser
  5. Check loaded data into memory from /rest/projects endpoint

Expected behavior

Endpoint should filter only related user project

Operating System

ubuntu

n8n Version

1.93.0

Node.js Version

Database

PostgreSQL

Execution mode

main (default)

@Joffcom
Copy link
Member

Joffcom commented May 27, 2025

Hey @huseyinulas,

We have created an internal ticket to look into this which we will be tracking as "GHC-2188"

@Joffcom Joffcom added the in linear Issue or PR has been created in Linear for internal review label May 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in linear Issue or PR has been created in Linear for internal review
Projects
None yet
Development

No branches or pull requests

2 participants