are you by any chance running Mozilla FireFox in the background? I was pretty sure FireFox had a memory leak. Yesterday I upgraded to FireFox 41.0.2 and now my Win7 Pro-64 Task Manager shows my Free Physical Memory going down to 57 MB out of 16382 MB.
i'm experiencing a lot of issues with Tradestation(equities) mainly due to platform (matrix and charts) wich "freeze" every single day during fast markets (usually the first half hour) and every now and then late in the morning and afternoon.
I have a CPU skylake i56500 (4 cores/4threads), 16GB RAM, 500GB SSD, 1T HHD .....
It's really hurting my activity and the tech assistance isn't able to help me fix the thing....if something can be fixed.....
It is probably specific to your installation. I would uninstall and reinstall TS. If that doesn't work, check custom indicators you may be using that may be using a lot of CPU. With that CPU/RAM/SSD you shouldn't be experiencing any freezes at all. I would also monitor the Task Manager to check processes/programs that are using a lot of CPU.
(if you want to do a more detailed analysis of the processes I would install Process Explorer: https://technet.microsoft.com/en-us/sysinternals/processexplorer.aspx ).
On TS I also like to clean the cache every week or so (under c:\Program Files (x86)\Tradestation 9.5\Program\Cache). Delete all files there, CAL_cache.clod can get quite large. Not sure if it's necessary with 9.5, but it was a common cause of problems on older versions.
I run TS in 3 computers, one more powerful than yours and two others quite less, and all work flawlessly.
PS: on another note, I have Task Manager running minimized in all my trading computers. As I run automated strategies, I like to just look at the bottom corner, and make sure the CPU is not maximized. Also, a quick access to all processes/programs in case I see something abnormal going on, by just clicking the small icon in my taskbar. You don't need to do this, I just got used to this extra 'assurance'. Below you have instructions to have Task Manager started with Windows 10.
TO START TASK MANAGER MINIMIZED ON WINDOWS 10:
1. open task scheduler directly
2. create basic task
3. name it, describe it
4. trigger: when i log on
5. action: start a program
6. program: C:\Windows\System32\cmd.exe /c start /min taskmgr.exe
7. click "yes" when prompted to put "/c start..." as arguments
8. check "open the properties..."
9. check "run with highest privileges" , check "Hidden", Configure for Windows 10
The following user says Thank You to dstrader for this post:
I have had many conversations with level 2 support when i ran into the issues. But at that time also was running in plus of 25+ charts and many indicators. There are some issues with memory....but the problems i was having could also be due to some of the indicators and the way they were written.
I currently run not more than 4 -6 charts on TS now and still on 9.1. Dont have any issues currently.
thanks for the advices!
I already clean my cache and I monitor the TM. Once thing i've noticed is that CPU usage never exceed 30/35% during fast market, so I don't really know why it freeze al the time.
I'll try to reinstall TS since i'm experiencing problem to work offline too...
Another idea that just occurred me, how fast is your internet speed and how reliable?
I also run a little application called "Net Uptime Monitor" ( https://netuptimemonitor.com/ ) in all my computers. This little app notifies me if I get any disconnection even for few seconds. If you have intermittent or slow internet connection you may experience freezing issues (btw, I'm assuming you are not using Wi-Fi, if you are, this is a no-no as disconnections and changes in download speeds are common).
Another little application that I run is "Network Time Synchronization" ( NetTime - Network Time Synchronization Tool ). For a trader it's important your time is correct and synchronized all the time some platforms don't like if the time is not correct (Market Delta is a good example, you will start to experience delays on MD if you don't have your clock synchronized).
With this 3 apps: Task Manager, Net Uptime Monitor and Network Time Synchronization, you can identify any problem quite quickly. At least in my experience...
The following user says Thank You to dstrader for this post:
I would need a little more information, such as which Windows are you running? I assume it is Windows 10 since you have a Skylake CPU. I am still running Windows 7-64 and TS 9.1. I have no plans on upgrading since W7 is more developed than W10. TS 9.5 is still in development which is surprising. 9.5 has Portfolio Maestro included free which I would like to test.
When TradeStation freezes, is it the entire program or just the matrix and charts? After TS freezes, when you click on it, does Windows give you an error message such as AppCrash or AppHang? Since I have W7, your W10 behavior might be slightly different. Just as an experiment, try leaving TS running for 15 minutes and see if if unfreezes. What is your CPU usage and Free RAM when it freezes?
I assume your TradeStation is installed on the SSD so waiting for the HDD is not an issue. What is the brand of the SSD you are using? What is the S.M.A.R.T. status of the SSD?
dstrader and paps have given good tips. I have some general advice for you: 1. The first thing I do when I build a new system is run MemTest86. MemTest is a RAM tester which runs outside of Windows which is what you want. Install MemTest on either a CD or USB flash stick so you can boot and run 3 passes from it. This is generally the first thing you do whenever you receive a new PC system. Periodically, perhaps once a month, rerun MemTest with 3 passes to ensure there are no new RAM issues because they can crop up.
__If your RAM fails MemTest, you must immediately replace the faulty RAM stick. Since you probably have 2 RAM sticks, if one if bad, determining which is the faulty one will be bothersome. Although you do have a 50/50 chance. If you have a bad RAM stick, you will usually get the classic W7 BSOD (blue screen). I don't know if W10 still has this. Be sure to use an anti-static wrist strap when working on your PC. If your RAM fails MemTest, you do nothing, and you receive BSOD's (blue screens), your Windows Registry may eventually be corrupted. There is no remedy for a corrupted Registry other than full Windows re-installation. This happened to me in 2012. My RAM passed MemTest then, without my knowledge, failed months later. Test your RAM soon and then monthly.
2. As paps mentioned, a good prevention would be to simplify your TradeStation. Remove any exotic indicators you are running. I once used someone's free trendline trading strategy I downloaded from the TradeStation Forum. It caused TS 9.1 to crash so I removed it.
__I am currently only running TS's built-in indicators. I have not yet implemented any TS Objects such as PSP. I plan to soon and hope it does not cause problems. During trading hours, on my 4 monitors, I have 4 TS *.TSD desktops which have 21 *.TSW Workspaces running. RadarScreen is tracking 250 stocks at 5 second interval bars. I have around 18 charts open. The initial 5 minutes of i7 CPU usage after TS startup is 25% but then settles down to 1-4% after all of the RadarScreen rows have been calculated (filled). RS has 1 Workspace with 2 windows, each with 250 rows, and is using my own EasyLanguage custom indicator which I wrote. With my 16 GB RAM, I noticed that both TS 9.1 and Mozilla FireFox, either separately or together, can reduce my Free RAM down to 1 GB. This can slightly reduce performance. My 2011 mobo is using dual channel native 1333 MHz DDR3 RAM and not quad channel DDR4 RAM. Using native 1600 MHz DDR3 RAM with the Intel XMP spec caused RAM failures (detected by MemTest), with Blue Screens in W7, so I switched to 1333 MHz.
3. Too many programs or conflicting programs:
__a. If you purchased a complete system, try uninstalling programs you don't need.
__b. Using the W7 Services listing, I set to "Manual" from "Automatic" several services. This prevents services from automatically loading on startup but will load if you need them. Do research before making any changes. This is advanced system tuning. When in doubt, make no change.
__c. Using Windows Sysinternals Autoruns, you can prevent programs from loading on startup instead of completely uninstalling them. Again, do your research.
4. dstrader mentioned using Wi-Fi is probably not a good idea unless you have a very stable Wi-Fi Netgear router as I do. However, my big desktop system uses a CAT5E cable, not Wi-Fi. Our laptops, which are not TS, use Wi-Fi. You mentioned this freezing occurs even offline so this is probably not the problem.
5. If you are using TradeStation 9.5 and the problem continues, try switching to 9.1 Update 29. Remember, 9.5 is still in development.
6. Because you are probably using Windows 10, it could be a driver problem. Because I am running 2 different older nVidia video cards, after I upgraded to nVidia v341.44 from v314.22, I would get an intermittent systemwide 1-2 second stutter or pause (freeze). After I reinstalled v314.22, the problem went away. I don't play video games so using the older driver is not a problem.
__Many people have reported video driver problems in Windows 10. As a last resort, if everything above does not work, try upgrading your video drivers. I do not recommend using Windows Update if they are there, especially if you have an nVidia card. If you have a laptop, call your laptop tech support and ask them where they are. If you have an nVidia card, this is the correct location to find and download it.
You are right. Win7 was my first choice but here in Italy it's not available anymore so i'm running a Win10 system
I've found Portfolio Maestro just another non-essential toy, but i don't need it and I don't use it so it's only my subjective honest opinion
All the platform and it's objects freeze
Whan TS freeze, just freeze and clicking on it produce nothing...it's just freezed
When it freeze, all the system freeze...so the CPU accordingly with the Sysinternal could be from 4% to 30%. When it unfreeze, i can see the CPU usage go to a lower level from an undefined point to 10%/4%
SSD = OCZ ARC 2.5" 240GB 480MB/s - 430MB/s SATA3
Memtest it's clean. I do periodically (usually during week-ends) to run the test for 15/18 hours.
I will check it but i do not use lot of indicators and the only one from TS forum it's the only available (in fact it's been developed in 2003 and there's not anoteher version....and tech support point me to the indicator....)
I have 3 monitors with 3 desktops with a total of 8 workspaces running.
I do not use radarscreen.
I have usually 16 to 20 charts open.
CPU always seems it works between 4% and 20/30% with a lot of spikes during the day. However the DRR4 16GB RAM usage is sitting between 10% to 15%
I do not play videogames too. the desktop it's dedicated exclusively and only to trading. I don't neither surf the net with it.
I really appreciate your comments and i want to thank you and @dstrader and @paps for your time and your committment in trying to help! Keep the good job guys! I'll keep you posted and I'll try to do the same with others.
it actually might not be also due to too many charts though when i had spoken to level 2 support they asked to reduced charts/desktops/work-space.
it however maybe multiple indicators and especially if they came from different vendors. I used to use indicators from 5/6 vendors and few i built. i now have only 2 vendors which maybe further reduced to 1. many of these indicators have been built with 9.0 and 9.1 in mind. If someone does not tweak and find out what is necessary for these to work in different versions of TS may experience these crashes. some of the indicators i use gave Millisec timestamp when tradestation did not support this so for me it was indicator clash am sure.
i dont think its a case of radarscreen. Am currently also a very heavy radarscreen user. With mimimum of 2 radarscreens if not 3 running every day as dump a ton of data for EOD.