Wealth Lab Crashes and Unable to Reopen
Author: fibonaccitrader
Creation Date: 1/26/2011 7:22 AM
profile picture

fibonaccitrader

#1
Hello-

I have had this problem several times. My Wealth-Lab crashes, and then I can not re-start (it just crashes before it will even open). In order to get around this, I have to delete all my data and strategies (or the whole data folder). Then remove and reinstall the program. I then slowly put my strategies back in. It will work for a few days, then go back to this issue. I have about 15 strats running on 500 stocks. Is this too many and is there a way around this?
I called Fidelity and they had no idea and told me to post here.
Thanks.
profile picture

Eugene

#2
Since you seem to be aware of our General troubleshooting procedure, I just need to correct one point: there's no need to reinstall the program, it's unlikely to help so this step may be skipped.

Out of the blue, no program would crash including Wealth-Lab. There must be something causing it, especially when it's a recurrent problem. And this important part is not clear. Using the checklist below, please expand this part: "15 strats running on 500 stocks" into something that could help us (or the developers) to nail down the issue:

How to report a Problem?

Thanks.
profile picture

fibonaccitrader

#3
Thanks for response:
Sorry for the confusion. I do not have any strategies running live. However, I have about 15 running every night (around 4:30pm) in the Strategy monitor testing for setups. Would it help if I included the code for 1 of the strategies? They are all pretty simple.

They are running off the S&P 500 data set with about 15 ETF's added to it - so about 515 names. They are all looking at daily bars and backtesting anywhere from 3 months to a year back.

I am certain it has to do with 'how many' strategies I am running in my Strategy monitor, because after the first time this happened, I reinstalled the program clean and fresh. I slowly added a couple of my strategies at a time (maybe 3 a night to be 'Active'). It had been working fine and yesterday I added 3 more to bring the total up to about 15 and the problem happened again.

Wealth Lab crashes/freezes up and my whole computer freezes. Need to reboot computer and then can NOT even open Wealth Lab with out it crashing. To answer your point above, if I do not delete the data folder and then reinstall the program there is no way I can open it (It will just continue to crash prior to opening until I do this step). This has happened to me about 5 times over the last month and is very frustrating.

Please help.
Thanks.
profile picture

Eugene

#4
Thank you for the clarification.

I see the idea behind reinstalling the program now: crashes might have affected some other hidden files.

RAM size shouldn't be an issue here as you work with Daily bars on a medium-size DataSet. Inspecting your code for errors and strategy XML files for bugs could be the next move.
profile picture

fibonaccitrader

#5
Here is 1 of the programs. Very simple and most are pretty similar just on different time frames. If you see ANYTHING that could be causing this, please let me know. My coding is very beginner so I apologize as I am just learning.
Thanks.

CODE:
Please log in to see this code.
profile picture

Cone

#6
I don't see any real problems, but as a matter of style, I'd use leading zeroes for the decimal values.

Abort() would generate a runtime error if executed. You can simply replace that with "return".

Anyway, it's very strange trouble that you're having, and I think what Eugene is hinting at is something corrupt in an XML Strategy file. With 6.1, however, Wealth-Lab checks for XML formatting errors and would alert you to a problematic file if one is detected.
profile picture

Eugene

#7
Strange indeed. You hit the nail on the head with regard to startup crashes due to bad XML files (fixed in 6.1). Still, there exists a chance of more a subtle, yet unknown, potential bugs that trigger in runtime. Maybe it could have to do with the last added strategies (when the count was 15). Maybe I'm searching in wrong direction but it could be worth taking a look at their XML files. You can zip and attach them when entering a new support ticket in our Support portal.
profile picture

Eugene

#8
Thanks for the XML files.
QUOTE:
Wealth Lab crashes/freezes up and my whole computer freezes.

Crash and freeze are pretty different things. Can you describe what exactly happens when you think Wealth-Lab freezes? What about your computer freezing? Are you sure your RAM isn't defective, have you checked that? In other words, please be very detailed about what happens.
profile picture

fibonaccitrader

#9
It is a fairly new work computer and I do not think that is the issue. However - how can I check if the RAM is defective? To explain exactly what happens, at around 4:30-5:30 pm my Strategies run in the Strategy monitor. I leave the computer on but locked with Wealth Lab as the only application running. I go home for night then check Strat monitor the next morning. When it freezes, I come in the next morning and can not even unlock the computer. It is just completely frozen (often black screen). The only way to reboot is to manually press the on/off button on computer (I know - not good for PC). When it reboots and I try to open Wealth Lab, I am not able to open it as it will crash before it opens (I get standard Microsoft Error Message when something crashes).
Then I go thru process of deleteing data folder and reinstalling Wealth Lab to be able to open it again.
Thanks.
profile picture

Eugene

#10
When you force Wealth-Lab to close in a non-graceful manner, its configuration and/or data files can become corrupt. That's expected.

But Wealth-Lab hasn't yet been 'proven guilty' for the freeze. It's not obvious for me that the freeze has to do with Strategy Monitor but not something unexpected e.g. trojan activity or some other background process (or even a Windows service) starting and failing at night. Have you/your IT person had examined the system logs?
profile picture

fibonaccitrader

#11
No - I have not examined system logs and have limited IT support here unfortunately. If you let me know where to pull the logs I can send them to you?
Thanks.
profile picture

Cone

#12
Click Start, and in the "Start Search" box type event, then start the Event Viewer. Start investigating the Windows Logs, especially the Application and System categories for Error events around the time of the suspected failure.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).