I seem to have periodic delays, usually just when the stock markets open and just before the close. The q/s readout in the bottom right hand corner starts getting into red and sometimes goes beyond 1mln, before starting to go down again. It can take up to 30-45 minutes for the quotes to catch up, which is not good!
I have 6 charts in the workspace, as well as 8 scanners, with about 480 different symbols, with resolution of 5 minutes or 1 day, and a proprietary indicator. I am using eSignal as the data feed. I have also noticed that Multicharts.exe service can have a Commit Size of nearly a gig, and same with the tsServer.
I am running a quad-core Dell XPS with 3GB of RAM.
Any ideas?
Quote delays
- TJ
- Posts: 7752
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1034 times
- Been thanked: 2228 times
I would first check the memory usage:
open your Task Manager.
make sure your total commit charge does not exceed the physical memory.
open your Task Manager.
make sure your total commit charge does not exceed the physical memory.
- Attachments
-
- task_mem.png
- (28.82 KiB) Downloaded 540 times
- TJ
- Posts: 7752
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1034 times
- Been thanked: 2228 times
next is to look at the processes
... to see which program is hogging all the CPU cycles.
... to see which program is hogging all the CPU cycles.
- Attachments
-
- task_CPU.jpg
- (51.86 KiB) Downloaded 539 times
- Andrew Kirillov
- Posts: 1589
- Joined: 28 Jul 2005
- Has thanked: 2 times
- Been thanked: 31 times
- Contact:
- TJ
- Posts: 7752
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1034 times
- Been thanked: 2228 times
I had similar problem once. It was due to an error in the indicator -- it was drawing too many unnecessary lines that I did not intend it to do.
which version you are using?
are you using the same set up (wsp/indicators, etc) as in prev version?
this is to deduce the probable cause:
if you remove the proprietary indicator, does the problem go away?
if you reduce the number of stocks or scanner, does the problem go away?
which version you are using?
are you using the same set up (wsp/indicators, etc) as in prev version?
this is to deduce the probable cause:
if you remove the proprietary indicator, does the problem go away?
if you reduce the number of stocks or scanner, does the problem go away?
I am using Version 5.0 Release (Build 2369) - it's the only version I've had.I had similar problem once. It was due to an error in the indicator -- it was drawing too many unnecessary lines that I did not intend it to do.
which version you are using?
are you using the same set up (wsp/indicators, etc) as in prev version?
this is to deduce the probable cause:
if you remove the proprietary indicator, does the problem go away?
if you reduce the number of stocks or scanner, does the problem go away?
I will try and eliminate one thing at a time, to see when the problem goes away.
It's definitely not antivirus software or any firewall issue. Still working to see if it's the proprietary indicator that I am using, although it is only doing simple comparisons and not some complex math.I am using Version 5.0 Release (Build 2369) - it's the only version I've had.I had similar problem once. It was due to an error in the indicator -- it was drawing too many unnecessary lines that I did not intend it to do.
which version you are using?
are you using the same set up (wsp/indicators, etc) as in prev version?
this is to deduce the probable cause:
if you remove the proprietary indicator, does the problem go away?
if you reduce the number of stocks or scanner, does the problem go away?
I will try and eliminate one thing at a time, to see when the problem goes away.
The problem is most obvious when the markets get really active, which is typically in the beginning of the trading day, as well as the last 15-20 minutes of the trading day.
I did a lot of testing, and the delay definitely has nothing to do with my indicators, since the delay happens even when everything, but the symbol, is removed from the scanner.It's definitely not antivirus software or any firewall issue. Still working to see if it's the proprietary indicator that I am using, although it is only doing simple comparisons and not some complex math.I am using Version 5.0 Release (Build 2369) - it's the only version I've had.I had similar problem once. It was due to an error in the indicator -- it was drawing too many unnecessary lines that I did not intend it to do.
which version you are using?
are you using the same set up (wsp/indicators, etc) as in prev version?
this is to deduce the probable cause:
if you remove the proprietary indicator, does the problem go away?
if you reduce the number of stocks or scanner, does the problem go away?
I will try and eliminate one thing at a time, to see when the problem goes away.
The problem is most obvious when the markets get really active, which is typically in the beginning of the trading day, as well as the last 15-20 minutes of the trading day.
With only 475 symbols being updated, there really should be no delays, especially when the CPU usage never gets close to being maxed out.
- Andrew Kirillov
- Posts: 1589
- Joined: 28 Jul 2005
- Has thanked: 2 times
- Been thanked: 31 times
- Contact:
After doing a bunch of tests with my code, and determining that it wasn't the code, because the problem appeared even with no studies, I decided to try to increase my computer's RAM to 4GB (max possible in 32-bit Windows Vista) from 3GB.
Once I upgraded the RAM, I have noticed a significant improvement in Multicharts' performance, which I believe is mostly due to more memory being allocated to my graphics card.
Once I upgraded the RAM, I have noticed a significant improvement in Multicharts' performance, which I believe is mostly due to more memory being allocated to my graphics card.