Dukascopy
 
 
Wiki JStore Search Login

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.

JForex-SDK sample load CPU 100% with a very tiny apps
 Post subject: JForex-SDK sample load CPU 100% with a very tiny apps Post rating: 0   New post Posted: Tue 09 Jun, 2015, 20:57 

User rating: 0
Joined: Fri 22 May, 2015, 10:10
Posts: 10
Location: France,
Hello,
i write a very tiny application with the JForex-SDK sample.
The Strategy just call a wrapper JNI class to connect with my C++ dll. My C++ dll just write in file the ask and bid tick, not more.
I launch the java application in Eclipse.
That works fine but after several minutes, the CPU is overloaded à 99% with the Java process.
I read the Eclipse console :
....
Strategy thread queue overloaded with tasks. Ticks in queue - 3, bars - 42420, other tasks - 11916
Strategy thread queue overloaded with tasks. Ticks in queue - 3, bars - 42420, other tasks - 11916
Strategy thread queue overloaded with tasks. Ticks in queue - 3, bars - 40978, other tasks - 11484
Strategy thread queue overloaded with tasks. Ticks in queue - 3, bars - 42421, other tasks - 11916
Strategy thread queue overloaded with tasks. Ticks in queue - 3, bars - 42422, other tasks - 11916
Strategy thread queue overloaded with tasks. Ticks in queue - 3, bars - 40985, other tasks - 11484
.....

I just need the tick. Has anyone experienced this situation ? any solution ?

Best regards,

Jeannot
Image
Image


Attachments:
File comment: Screen copy at the beginning
CPU Overload 12 hours later...small.JPG [104.66 KiB]
Downloaded 212 times
File comment: Screen copy 12 hours later
CPU Overload at beginning....small JPG.JPG [92.09 KiB]
Downloaded 215 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 
 Post subject: Re: JForex-SDK sample load CPU 100% with a very tiny apps Post rating: 0   New post Posted: Tue 16 Jun, 2015, 12:32 

User rating: 0
Joined: Fri 22 May, 2015, 10:10
Posts: 10
Location: France,
Sorry for the mistake,
i continue this discussion in "Bug Reports".
Yours,
jeannot


 

Jump to:  

cron
  © 1998-2025 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com