If i try to verify the XCAP function from this code
http://www.TS.com/Discussions ... c_ID=58534
the compiler freezes. The cpu usage goes to 100%, caused by an process cc1plus.exe.
It seems that the code contains too many lines or too many arrays inside the function for MC.
Code with over 10000 lines freezes compiler
-
- Posts: 84
- Joined: 28 Jul 2006
- Been thanked: 3 times
No this is not an MC issue I encountered the same , when compiling this filter took an half hour on my computer.Also the author stated that it took several hours on his computer. Just compile if markets are closed and wait.
THe same author has meanwhile a new filter based on Legrenge method.
Did not try this for now,but he states that this new one is even better.
THe same author has meanwhile a new filter based on Legrenge method.
Did not try this for now,but he states that this new one is even better.
-
- Posts: 84
- Joined: 28 Jul 2006
- Been thanked: 3 times
-
- Posts: 84
- Joined: 28 Jul 2006
- Been thanked: 3 times
It will take quite a while to compile the code or even import it into the PL Editor, but it will compile/import. I have tried it with the previous beta and not with the current one.I don't know for TS8 only know that I experienced the same. CPU usage 100% and it took a really very long time to compile, Once compiled the usage of this code is normal.
It's true that you can import it quite fast in TS. The author mentioned that it took several hours to precalculate the filters, but this work only had to be done once on his computer. Once the precalculations are translated in PowerLanguage it only needs to be compiled and is ready to work.
-
- Posts: 84
- Joined: 28 Jul 2006
- Been thanked: 3 times
Re: Code with over 10000 lines freezes compiler
I am experiencing multiple problems such as this i.e. freezing , crashing etc. with the new beta on much smaller code segments. I have had this occur on two separate computers. Seems to me they have a compiler problem with their new beta.If i try to verify the XCAP function from this code
http://www.TS.com/Discussions ... c_ID=58534
the compiler freezes. The cpu usage goes to 100%, caused by an process cc1plus.exe.
It seems that the code contains too many lines or too many arrays inside the function for MC.
J~
Re: Code with over 10000 lines freezes compiler
It seems that TSSupport changed some behaviors of the compiler. In the previous versions you could use codes likeI am experiencing multiple problems such as this i.e. freezing , crashing etc. with the new beta on much smaller code segments. Seems to me they have a compiler problem with their new beta.
J~
input: filter(0), d(2), s(5), ....
var: i(0) //Counter
Now you get an error message, these single letters are not longer allowed. These behavior is critical for older password protected codes, because they now dont verify anymore and due to the protection you have noch chance to modify the code inputs.
- Stanley Miller
- Posts: 556
- Joined: 26 Jul 2005
- Has thanked: 3 times
Re: Code with over 10000 lines freezes compiler
You can't use i as variable because this is a reserved word means Open Interest.It seems that TSSupport changed some behaviors of the compiler. In the previous versions you could use codes like
input: filter(0), d(2), s(5), ....
var: i(0) //Counter
Now you get an error message, these single letters are not longer allowed. These behavior is critical for older password protected codes, because they now dont verify anymore and due to the protection you have noch chance to modify the code inputs.