7te3ep
7te3ep
DIAdiscord.js - Imagine a boo! 👻
Created by 7te3ep on 1/20/2024 in #djs-questions
Attachment Memory Leak
bc its not an external librairy, its into node
32 replies
DIAdiscord.js - Imagine a boo! 👻
Created by 7te3ep on 1/20/2024 in #djs-questions
Attachment Memory Leak
Maybe its not exactly like the native gc, but its something similar
32 replies
DIAdiscord.js - Imagine a boo! 👻
Created by 7te3ep on 1/20/2024 in #djs-questions
Attachment Memory Leak
You guessed it, I use the flag --expose-gc and then gc()
32 replies
DIAdiscord.js - Imagine a boo! 👻
Created by 7te3ep on 1/20/2024 in #djs-questions
Attachment Memory Leak
Its possible,but im calling manually the gc, and I tried to let the bot at 200mb for like 15 hours, nothing changed
32 replies
DIAdiscord.js - Imagine a boo! 👻
Created by 7te3ep on 1/20/2024 in #djs-questions
Attachment Memory Leak
this add 50mb to ram, its not a problem, but it stays in ram, like the memory usage doest go back down
32 replies
DIAdiscord.js - Imagine a boo! 👻
Created by 7te3ep on 1/20/2024 in #djs-questions
Attachment Memory Leak
this is for one "generation"
32 replies
DIAdiscord.js - Imagine a boo! 👻
Created by 7te3ep on 1/20/2024 in #djs-questions
Attachment Memory Leak
here it is
32 replies
DIAdiscord.js - Imagine a boo! 👻
Created by 7te3ep on 1/20/2024 in #djs-questions
Attachment Memory Leak
No description
32 replies
DIAdiscord.js - Imagine a boo! 👻
Created by 7te3ep on 1/20/2024 in #djs-questions
Attachment Memory Leak
its a grid of 3x2, for 400*400 img in jpg
32 replies
DIAdiscord.js - Imagine a boo! 👻
Created by 7te3ep on 1/20/2024 in #djs-questions
Attachment Memory Leak
I can see it myself, its all on the server panel in real time
32 replies
DIAdiscord.js - Imagine a boo! 👻
Created by 7te3ep on 1/20/2024 in #djs-questions
Attachment Memory Leak
No description
32 replies
DIAdiscord.js - Imagine a boo! 👻
Created by 7te3ep on 1/20/2024 in #djs-questions
Attachment Memory Leak
No, but I asked my host and its due to the ram being full
32 replies
DIAdiscord.js - Imagine a boo! 👻
Created by 7te3ep on 1/20/2024 in #djs-questions
Attachment Memory Leak
So if I create only one instance of canvas, and clearrect each time, the issue is still here, each image generated by canvas adds 50mb to ram
32 replies
DIAdiscord.js - Imagine a boo! 👻
Created by 7te3ep on 1/20/2024 in #djs-questions
Attachment Memory Leak
It restart. I think its a host thing to make it automatically restart.
32 replies
DIAdiscord.js - Imagine a boo! 👻
Created by 7te3ep on 1/20/2024 in #djs-questions
Attachment Memory Leak
Any ideas ?
32 replies
DIAdiscord.js - Imagine a boo! 👻
Created by 7te3ep on 1/20/2024 in #djs-questions
Attachment Memory Leak
Because this doesnt work...
32 replies
DIAdiscord.js - Imagine a boo! 👻
Created by 7te3ep on 1/20/2024 in #djs-questions
Attachment Memory Leak
So creating one single instance of canvas, and clearing it before re using it again?
32 replies
DIAdiscord.js - Imagine a boo! 👻
Created by 7te3ep on 1/20/2024 in #djs-questions
Attachment Memory Leak
*same problem, there is no error until my server run out of ram
32 replies
DIAdiscord.js - Imagine a boo! 👻
Created by 7te3ep on 1/20/2024 in #djs-questions
Attachment Memory Leak
But same error for canvacord, and sharpjs, and chartjs
32 replies
DIAdiscord.js - Imagine a boo! 👻
Created by 7te3ep on 1/20/2024 in #djs-questions
Attachment Memory Leak
"@napi-rs/canvas": "^0.1.44",
32 replies