Comments (17)
Amusing, you come here wanting help and feel it necessary to say that you would ditch BiglyBT if you could. Good luck
from biglybt.
Amusing, you come here wanting help and feel it necessary to say that you would ditch BiglyBT if you could. Good luck
So, instead of helping or asking for more info about the problem, you closed the issue so it goes unfixed and more users can experience it?
I know that it can be hard to understand for some people, but when a piece of software that they've been using for almost 20 years starts crashing multiple times a day after an update can be frustrating. Even more so when people have other stuff to deal with IRL, all the while trying to serve communities.
from biglybt.
Don't use the I2P Helper plugin; Don't run too many active downloads; Monitor JVM memory via View->Log Views->JVM Info; Update more frequently so that potential issues can more easily be narrowed down; Join the beta program to help find potential issues prior to release
from biglybt.
@rlesac
Do you have the logging enabled? See #3332 .
from biglybt.
Aas you can see from the other thread, you could install VisualVM and see if there is some class type dominating memory usage
from biglybt.
Before updating I used the backup function in BiglyBT, when 3.6 started crashing, I installed 3.1 again, and when it started crashing I restored the backup, it made no difference. My max heap size was set to 2gb and it was working fine that way for years. I stuck with 3.1 because the next update was crashing.
I put max heap to 6gb, and after say 10 minutes it will use up the memory and start hogging the cpu.
Logging was not enabled and most plugins were disabled.
I set max heap to 12gb as I don't have the time to debug at the moment.
from biglybt.
@rlesac
Well, the thing to note is that with BiglyBT (as with any other even moderately complex software) the memory usage pattern will be largely affected by state (be it configuration, plugins, torrents you have ...). It's not like it's leaking memory for everyone right now, so unless you put in a little bit of work, nobody will be able to help you (we don't have a crystal ball).
The log thing probably wouldn't affect you (it only demonstrated if you used the telnet/console UI), and might have been only affecting the current Beta channel releases (not sure).
Looking at the memory profile really isn't that difficult (certainly much easier that in many non garbage collected languages). You can use jconsole to monitor the heap use / garbage collection, jmap (or VisualVM directly) to take a snapshot (dump) of the heap & VisualVM (or other tools) to view it.
These links could help you get started:
https://www.baeldung.com/java-heap-dump-capture
https://www.baeldung.com/java-profilers
Side note:
You kind of did yourself a disservice by not reporting the issue the first time it happened. Could have been easier to bisect the exact point where it was introduced. Depending on others to report and fix it will only get you so far. It's open-source - we are all better off if we contribute a little.
from biglybt.
You kind of did yourself a disservice by not reporting the issue the first time it happened. Could have been easier to bisect the exact point where it was introduced. Depending on others to report and fix it will only get you so far. It's open-source - we are all better off if we contribute a little.
I reported this as soon as I could, I updated 4 days ago.
The 3.2-3.4 updates?, well it was a long time ago, but that produced instant crashes and rolling back worked.
I can debug, but it takes time which I can't spare currently due to personal circumstances, which is why I'm very frustrated, as rolling back should have worked. Yeah, you could also say I should have imaged my system before updating etc.
I'll look into memory profiling, when I can.
If you have any suggestion for at least a partial fix until I can devote more time to this I'd be grateful. I just need the torrent state to persist as I have a lot of them scattered across multiple drives and directories.
from biglybt.
If you have any suggestion for at least a partial fix until I can devote more time to this I'd be grateful. I just need the torrent state to persist as I have a lot of them scattered across multiple drives and directories.
I'm not sure when the "Modern UI" came along but maybe you could try switching back to Classic for now? Using the older backup of the Bigly's config directory to revert (if you have one)? Check/update your JVM version (if it's really ancient)?
from biglybt.
If you have any suggestion for at least a partial fix until I can devote more time to this I'd be grateful. I just need the torrent state to persist as I have a lot of them scattered across multiple drives and directories.
I'm not sure when the "Modern UI" came along but maybe you could try switching back to Classic for now? Using the older backup of the Bigly's config directory to revert (if you have one)? Check/update your JVM version (if it's really ancient)?
I'm using the classic UI. After the crashes started a few days ago I updated JVM.
Currently it takes a bit longer, a few hours to fill up 12gb but it still does and with it comes lagging and so on.
from biglybt.
Currently it takes a bit longer, a few hours to fill up 12gb but it still does and with it comes lagging and so on.
Well at this point I would see running the VisualVM as your best option. It takes like 10min max. (including install), attaches directly to the running instance, it's free/opensource (GPL) & build by (mostly) people from Oracle.
Just open com.bigly.ui.Main in the Local section in the left panel. Switch to Monitor Tab and click Heap Dump. Then you can open it, look what instances take the most memory (it will sort it for you) and where are they referenced from. Post your findings here. That's all.
from biglybt.
Currently it takes a bit longer, a few hours to fill up 12gb but it still does and with it comes lagging and so on.
Well at this point I would see running the VisualVM as your best option. It takes like 10min max. (including install), attaches directly to the running instance, it's free/opensource (GPL) & build by (mostly) people from Oracle.
Just open com.bigly.ui.Main in the Local section in the left panel. Switch to Monitor Tab and click Heap Dump. Then you can open it, look what instances take the most memory (it will sort it for you) and where are they referenced from. Post your findings here. That's all.
Well, this is the heap dump, I'm not sure how to interpret it.
from biglybt.
You seem to have 20,000 connected peers and 1000000 assigned file, is this what you would expect?
from biglybt.
which was fine for some 3500 torrents
Some data for comparison:
The numbers in the screenshot looks on average about 10x inflated to what what I have in my dump (6-15 depending on which part). I'm running about 3800 torrents right now and the GC bottoms at around 1.2GB.
View->All peers currently shows numbers around 700 | 2800
Statistics->Transfer->Current->Routing - around 700 active connections total, with another 2000 pending
from biglybt.
You seem to have 20,000 connected peers and 1000000 assigned file, is this what you would expect?
Seems excessive, I did not change any settings when updating, and I'm not sure what would I need to do to even allow so many peers.
which was fine for some 3500 torrents
Some data for comparison: The numbers in the screenshot looks on average about 10x inflated to what what I have in my dump (6-15 depending on which part). I'm running about 3800 torrents right now and the GC bottoms at around 1.2GB.
View->All peers currently shows numbers around 700 | 2800
Well, before I tried the update, it was working fine here with 2gb heap size.
from biglybt.
Did you check the peer count / connection count in the UI? Might be possible that your settings were always this "unbounded" but the older client just wasn't able to handle them / had some other internal limits...
from biglybt.
Did you check the peer count / connection count in the UI? Might be possible that your settings were always this "unbounded" but the older client just wasn't able to handle them / had some other internal limits...
In the UI I get 50|1200 peers, 4.5gb mem used (after restart). I rolled back to 3.1, so it's the same client.
from biglybt.
Related Issues (20)
- Search for Existing Data Files in the "Link - Internal" mode always marks all files as Relocated HOT 4
- BiglyBT still prefers IPv6 tracker addresses when both "Enable IPv6 support" & "Prefer IPv6 addresses when both IPv6 and IPv4 are available" are turned off HOT 2
- [Feature request] Ability to easily view the whole error status of the torrent HOT 3
- What different about IPFilter#ban and IPFilter#block ? HOT 6
- Opening GitHub_BiglyBT.jar gives a "A Java Exception has occured" error. HOT 1
- Biglybt binding server socket failed windows 10 HOT 1
- Library view shifted to wrong row after completed torrents moved to another panel HOT 2
- [Request] Can you add HIVE blockchain for donations on your app?
- Unsupported address type. HOT 2
- Possible security hole Vuze BiglyBt 3.6.0.0 are leaking user real IP behind the anonymous I2P network HOT 30
- failed "Files: -> Completion Moving" by lack of space HOT 2
- Upload-only torrents (download speed set to "Disabled") might not be counted among the "active torrents" HOT 6
- Cant open from tray icon (Linux lite 7.0) HOT 1
- Pause All - Failed to complete HOT 8
- Possible memory leak in the Beta channel releases HOT 16
- Process already listening? HOT 8
- Disk Operations - Scheduled, how to turn off. HOT 4
- Why can't it be automatically shut down based on how many seeds ? HOT 12
- Scrape issue with one private tracker HOT 1
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 biglybt.