Comments (13)
does this happened if you are not using developing startup?
for example:npm run build
andnode dist/index.js
.
There maybe some incompatible between apple silicon and tsx(esbuild)Running
npm run build
andnode dist/index.js
works without any problems.
Then I think this is caused by tsx/esbuild... and I have no clue about how to fix it 😥
please just use production build.
from flood.
very likely this is caused by rtorrent request queue. there maybe a bug. I replace it with p-queue, and everythink looks fine.
from flood.
I'm on master and have memory leak problems. When running the flood development server, it quickly starts consuming upwards of 16 GB of memory. After some time, it either crashes or my Mac prompts me to close other applications, as I'm out of memory.
This is the graph after closing flood (node):
from flood.
I'm on master and have memory leak problems. When running the flood development server, it quickly starts consuming upwards of 16 GB of memory. After some time, it either crashes or my Mac prompts me to close other applications, as I'm out of memory. This is the graph after closing flood (node):
what bt client are you using?
from flood.
@trim21 I'm running rtorrent using the following command:
docker run -it --rm -v ./volumes/config:/config -v ./volumes/data:/Users/ffactory/data --user 1000:1001 -p 0.0.0.0:6881:5000 -e HOME=/config jesec/rtorrent
edit:
Node v20.0.0
npm 9.8.1
from flood.
@trim21 I'm running rtorrent using the following command:
docker run -it --rm -v ./volumes/config:/config -v ./volumes/data:/Users/ffactory/data --user 1000:1001 -p 0.0.0.0:6881:5000 -e HOME=/config jesec/rtorrentedit: Node v20.0.0 npm 9.8.1
looks like there are more than one memory leak bug...
from flood.
it quickly starts consuming upwards of 16 GB of memory
how many torrents do you have in rtorrent?
and "it quickly starts consuming upwards of 16 GB of memory", how quickly?
from flood.
@trim21 the number of threads keeps rising (currently 2.9k)
Within 5 seconds of starting the server, it's already at 4 GB, after total 30 seconds it's at 9 GB and the number of threads approaches 1k.
After killing both npm run start:development:server
and npm run start:development:client
it takes more than 20 seconds for the node
process to fully close. Used memory and number of threads quickly decline during that time.
Edit: I should note, I'm using a MacBook Pro with Apple silicon. On my VPS (Ubuntu 20, x86) I'm using flood with zero problems.
from flood.
@trim21 the number of threads keeps rising (currently 2.9k)
Within 5 seconds of starting the server, it's already at 4 GB, after total 30 seconds it's at 9 GB and the number of threads approaches 1k.After killing both
npm run start:development:server
andnpm run start:development:client
it takes more than 20 seconds for thenode
process to fully close. Used memory and number of threads quickly decline during that time.Edit: I should note, I'm using a MacBook Pro with Apple silicon. On my VPS (Ubuntu 20, x86) I'm using flood with zero problems.
I don't have Apple silicon, I can't help with this...
from flood.
@trim21
I don't have Apple silicon, I can't help with this...
I'm happy to help investigate this if you have any clues. 🙂
from flood.
@trim21 the number of threads keeps rising (currently 2.9k)
Within 5 seconds of starting the server, it's already at 4 GB, after total 30 seconds it's at 9 GB and the number of threads approaches 1k.After killing both
npm run start:development:server
andnpm run start:development:client
it takes more than 20 seconds for thenode
process to fully close. Used memory and number of threads quickly decline during that time.Edit: I should note, I'm using a MacBook Pro with Apple silicon. On my VPS (Ubuntu 20, x86) I'm using flood with zero problems.
does this happened if you are not using developing startup?
for example: npm run build
and node dist/index.js
.
There maybe some incompatible between apple silicon and tsx(esbuild)
from flood.
does this happened if you are not using developing startup?
for example:
npm run build
andnode dist/index.js
.There maybe some incompatible between apple silicon and tsx(esbuild)
Running npm run build
and node dist/index.js
works without any problems.
from flood.
@trim21 okay, I'll do that. Thanks for your efforts.
from flood.
Related Issues (20)
- 413 Request Entity Too Large when trying to add a 1 MB .torrent file HOT 3
- Can only add tags in flood (torrent client is qBittorrent) HOT 1
- Downloaded resets to zero after restart
- Cannot connect to the client Error HOT 3
- Graph not visible in Safari 16.3 HOT 8
- Connection could not be verified. - qBittorrent v4.5.0 Web UI (64-bit) HOT 17
- Empty torrent list when connected to Deluge
- Flood keeps losing track of rTorrent HOT 5
- How to configure FLOOD HTTPS/SSL connections with signed certificates HOT 2
- Flood crashes on startup (FreeBSD 13.1) HOT 5
- Include Docker Compose In Documentation HOT 1
- [BUG] Select one of the files, click to Download File, and then an unexpected prompt is displayed.
- Duplication of notification for RSS + RSS folder not respected
- Uncaught exception: Error: Cannot create a string longer than 0x1fffffe8 characters HOT 3
- metrics HOT 2
- Show tracker message in qbittorrent
- sock connection problem HOT 4
- Issue with the French translation
- UI fails to load if adding torrent from RSS feed fails
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flood.