|
Attention! Read the forum rules carefully before posting a topic.
Try to find an answer in Wiki before asking a question. Submit programming questions in this forum only. Off topics are strictly forbidden.
Any topics which do not satisfy these rules will be deleted.
Thread queue overflow |
[bilbao]
|
Post subject: Thread queue overflow |
Post rating: 0
|
Posted: Thu 18 Feb, 2010, 01:25
|
|
User rating: 0
Joined: Wed 17 Dec, 2008, 11:19 Posts: 29
|
Hi,
A thread queue overflow error occurs in my strategy: "Thread queue overflow. Ticks in queue - 0, bars - 500, other tasks - 0, ThreadPoolExecutor state - false Strategy thread in [java.net.PlainSocketImpl.socketConnect(Native Method)]"
In this trategy, onTick is empty (no code), onBar saves (writes file) bars of 20 pairs every 10 secs. The strategy does nothing else.
How to avoid this error ?
It seems to occur: - since new version of JForex - when internet connection speed goes down
Thanks
|
|
|
|
 |
API Support
|
Post subject: Re: Thread queue overflow |
Post rating: 0
|
Posted: Tue 23 Feb, 2010, 10:08
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
Hi, this could happen if you change a system time on your PC. In a next JForex version, there won't be the queue size restriction.
|
|
|
|
 |
API Support
|
Post subject: Re: Thread queue overflow |
Post rating: 0
|
Posted: Tue 23 Feb, 2010, 11:07
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
This problem started to appear on DEMO accounts. The reason is increased amount of currency pairs. We will fix this problem in next version, but for now you can unsubscribe from currency pairs that you don't use
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|