I am running my bitcoinj  code i am getting this logs . I am unable to 
understand exact cause of the below logs. Since i have 16GB of RAM out of 
which 4 GB is consumed.


2017-12-13 12:25:40.669  WARN 1950 --- [ioClientManager] org.bitcoinj.utils.
Threading$UserThread  : User thread has 10000 pending tasks, memory 
exhaustion may occur.
If you see this message, check your memory consumption and see if it's 
problematic or excessively spikey.
If it is, check for deadlocked or slow event handlers. If it isn't, try 
adjusting the constant 
Threading.UserThread.WARNING_THRESHOLD upwards until it's a suitable level 
for your app, or Integer.MAX_VALUE to disable.



Also when the download block chain reach 94 % . it is not downloading 
further block chain instead it shows below exception:

2017-12-13 12:28:59.174 WARN 1950 --- [eerGroup Thread] org.bitcoinj.core.
PeerGroup : Chain download stalled: received 0.00 KB/sec for 10 seconds, 
require average of 1.56 KB/sec, disconnecting [127.0.0.1]:8333
 2017-12-13 12:28:59.175 INFO 1950 --- [eerGroup Thread] org.bitcoinj.core.
PeerGroup : [127.0.0.1]:8333: Peer died (0 connected, 0 pending, 1 max)
 2017-12-13 12:28:59.175 INFO 1950 --- [eerGroup Thread] org.bitcoinj.core.
PeerGroup : Download peer died. Picking a new one.
 2017-12-13 12:28:59.175 INFO 1950 --- [eerGroup Thread] org.bitcoinj.core.
PeerGroup : Unsetting download peer: [127.0.0.1]:8333
 2017-12-13 12:28:59.176 INFO 1950 --- [eerGroup Thread] org.bitcoinj.core.
PeerGroup : Peer discovery took 0ms and returned 0 items
 2017-12-13 12:28:59.176 INFO 1950 --- [eerGroup Thread] org.bitcoinj.core.
PeerGroup : Waiting 1500 msec before next connect attempt to [127.0.0.1]:
8333
 2017-12-13 12:28:59.280 WARN 1950 --- [ioClientManager] org.bitcoinj.net.
ConnectionHandler : Error handling SelectionKey: java.nio.channels.
CancelledKeyException 2017-12-13 12:29:00.676 INFO 1950 --- [eerGroup Thread
] org.bitcoinj.core.PeerGroup : Attempting connection to [127.0.0.1]:8333 (0 
connected, 1 pending, 1 max)
 2017-12-13 12:29:00.677 INFO 1950 --- [ioClientManager] org.bitcoinj.net.
NioClientManager : Connected to /127.0.0.1:8333
 2017-12-13 12:29:00.677 INFO 1950 --- [ioClientManager] org.bitcoinj.core.
Peer : Announcing to /127.0.0.1:8333 as: /bitcoinj:0.13.6/PeerMonitor:1.0/
 2017-12-13 12:29:00.678 INFO 1950 --- [ioClientManager] org.bitcoinj.core.
Peer : [127.0.0.1]:8333: Got version=70015, subVer='/Satoshi:0.14.1/', 
services=0x13, time=2017-12-13 12:28:58, blocks=499065
 2017-12-13 12:29:00.678 INFO 1950 --- [ioClientManager] org.bitcoinj.core.
PeerGroup : [127.0.0.1]:8333: New peer (1 connected, 0 pending, 1 max)
 2017-12-13 12:29:00.678 INFO 1950 --- [ioClientManager] org.bitcoinj.core.
PeerGroup : Setting download peer: [127.0.0.1]:8333
 2017-12-13 12:29:00.678 INFO 1950 --- [ioClientManager] o.bitcoinj.core.
DownloadProgressTracker : Chain download switched to [127.0.0.1]:8333
 2017-12-13 12:29:00.680 INFO 1950 --- [ioClientManager] org.bitcoinj.core.
Peer : Received alert from peer [127.0.0.1]:8333: URGENT: Alert key 
compromised, upgrade required


-- 
You received this message because you are subscribed to the Google Groups 
"bitcoinj" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to