same issue here... jre is hogging the CPU after phex 2.60.87 is up an running for a while. XP Pro, SP2, P4-2800 with 1GB RAM, i845 chipset, NAT, default settings for phex, 3Mbps/512Kbps. Increasing the default number of allowed connections makes the problem worse, but no setting changes seem to cure it. java 1.5.04, latest per sun web site. maybe a java runtime issue, but suggestions are most welcomed - do not have any experience debugging in a java environment, but am willing to try
About 20 shared files, and no more then 8 downloads at the same time.....
Looked under phex directory, and found an error log which is full of the following entry, repeated a gazillion times (20KBytes worth of log file, anyway):
050811 07:42:31,0312:Error/GLOBAL: java.lang.IllegalStateException: Cant merge, thread does not hold segment lock. - Exception: java.lang.IllegalStateException: Cant merge, thread does not hold segment lock.
at phex.download.swarming.SWDownloadSegment.mergeWith NextSegment(Unknown Source)
at phex.download.swarming.SWDownloadFile.mergeSegment s(Unknown Source)
at phex.download.swarming.SWDownloadWorker.handleDown load(Unknown Source)
at phex.download.swarming.SWDownloadWorker.run(Unknow n Source)
at phex.common.ThreadPool$Worker.run(Unknown Source)
Any suggestions would be greatly appreciated....