Do you have a wallet connected and how many transactions, inputs and outputs does it contain (approx.) when the error occurs?
On 12/13/2017 01:52 PM, Ajit Soman wrote: > > 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-1312:25:40.669 WARN > 1950---[ioClientManager]org.bitcoinj.utils.Threading$UserThread :Userthread > has 10000pending tasks,memory exhaustion may occur. > Ifyou see thismessage,check your memory consumption andsee ifit's > problematic or excessively spikey. > If it is, check for deadlocked or slow event handlers. If it > isn't,tryadjusting the constant > Threading.UserThread.WARNING_THRESHOLD upwards untilit'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-1312:28:59.174WARN 1950---[eerGroup > Thread]org.bitcoinj.core.PeerGroup:Chaindownload stalled:received > 0.00KB/sec for10seconds,requireaverage of 1.56KB/sec,disconnecting > [127.0.0.1]:8333 > 2017-12-1312:28:59.175INFO 1950---[eerGroup > Thread]org.bitcoinj.core.PeerGroup:[127.0.0.1]:8333:Peerdied > (0connected,0pending,1max) > 2017-12-1312:28:59.175INFO 1950---[eerGroup > Thread]org.bitcoinj.core.PeerGroup:Downloadpeer died.Pickinga newone. > 2017-12-1312:28:59.175INFO 1950---[eerGroup > Thread]org.bitcoinj.core.PeerGroup:Unsettingdownload peer:[127.0.0.1]:8333 > 2017-12-1312:28:59.176INFO 1950---[eerGroup > Thread]org.bitcoinj.core.PeerGroup:Peerdiscovery took 0msandreturned 0items > 2017-12-1312:28:59.176INFO 1950---[eerGroup > Thread]org.bitcoinj.core.PeerGroup:Waiting1500msec before nextconnect > attempt to [127.0.0.1]:8333 > 2017-12-1312:28:59.280WARN > 1950---[ioClientManager]org.bitcoinj.net.ConnectionHandler:Errorhandling > SelectionKey:java.nio.channels.CancelledKeyException2017-12-1312:29:00.676INFO > 1950---[eerGroup Thread]org.bitcoinj.core.PeerGroup:Attemptingconnection > to [127.0.0.1]:8333(0connected,1pending,1max) > 2017-12-1312:29:00.677INFO > 1950---[ioClientManager]org.bitcoinj.net.NioClientManager:Connectedto > /127.0.0.1:8333 > 2017-12-1312:29:00.677INFO > 1950---[ioClientManager]org.bitcoinj.core.Peer:Announcingto > /127.0.0.1:8333as:/bitcoinj:0.13.6/PeerMonitor:1.0/ > 2017-12-1312:29:00.678INFO > 1950---[ioClientManager]org.bitcoinj.core.Peer:[127.0.0.1]:8333:Gotversion=70015,subVer='/Satoshi:0.14.1/',services=0x13,time=2017-12-1312:28:58,blocks=499065 > 2017-12-1312:29:00.678INFO > 1950---[ioClientManager]org.bitcoinj.core.PeerGroup:[127.0.0.1]:8333:Newpeer > (1connected,0pending,1max) > 2017-12-1312:29:00.678INFO > 1950---[ioClientManager]org.bitcoinj.core.PeerGroup:Settingdownload > peer:[127.0.0.1]:8333 > 2017-12-1312:29:00.678INFO > 1950---[ioClientManager]o.bitcoinj.core.DownloadProgressTracker:Chaindownload > switched to [127.0.0.1]:8333 > 2017-12-1312:29:00.680INFO > 1950---[ioClientManager]org.bitcoinj.core.Peer:Receivedalert frompeer > [127.0.0.1]:8333:URGENT:Alertkey 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] > <mailto:[email protected]>. > For more options, visit https://groups.google.com/d/optout. -- 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.
