titaniumnetwork-dev / Ultraviolet-App

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

MaxListenersExceededWarning: Possible EventEmitter memory leak detected. #66

Closed non-reai closed 6 months ago

non-reai commented 1 year 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 1 year ago

There is also this: image

non-reai commented 1 year ago

image

non-reai commented 1 year ago

im on 32 bit os if that helps

funkymokey commented 1 year ago

skill issue

non-reai commented 1 year ago

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

funkymokey commented 12 months ago

your welcome