Ok, I read somewhere the delete (delete myVar;) instruction in JS does free the memory...

I replaced the Object key value by a Map.

Time for another spam test of Nostr Proxy

https://nproxy.zerologin.co/

Reply to this note

Please Login to reply.

Discussion

Report

11 connected clients

41 subs

75 Mo used memory.

Let's wait few hours...

hello

gm

coucou

io

This is confusing...

Ahah, I need to be spammed to stress test my Nostr proxy

I think I found the problem and it's in nostr-tools. It looks like a promise is never resolved when a relay is offline, and keep adding a new promise (which will never be resolved) every time a message is send.

Trying to find a fix without break anything

Every webapp using nostr-tools is affected, but it's not really a problem if you close or refresh the page.

It's more a problem for servers with a persistent connection