titaniumnetwork-dev / Ultraviolet-App

Example application of Ultraviolet which can be deployed in production.
https://docs.titaniumnetwork.org/proxies/ultraviolet
MIT License
253 stars 4.02k forks source link

MaxListenersExceededWarning: Possible EventEmitter memory leak detected. #66

Closed non-reai closed 2 months ago

non-reai commented 8 months ago

Issue tracker is ONLY used for reporting bugs. New features should be discussed on our Discord server.

Expected Behavior

There shouldn't be a memory leak. This memory leak may be the reason that Ultraviolet keeps closing.

Current Behavior

There is a memory leak (No idea where)

Possible Solution

Use emitter.setMaxListeners() to increase limit

Steps to Reproduce

  1. Start Ultraviolet-App
  2. Wait until it warns

Context (Environment)

I am hosting Ultraviolet-App on my Raspberry Pi 2b and sometimes the webserver closes randomly.

Detailed Description

Fix the issue?

Possible Implementation

Don't know.

non-reai commented 7 months ago

There is also this: image

non-reai commented 7 months ago

image

non-reai commented 7 months ago

im on 32 bit os if that helps

funkymokey commented 7 months ago

skill issue

non-reai commented 7 months ago

Wow! That was really creative and insightful to my bug report, thanks!

funkymokey commented 7 months ago

your welcome