You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
MT4 Crash
Hi Barna.
I would like to test your EA too, but I have this problem in my MT4 terminal:
There has been a critical error
Time : 2008.12.04 11:56
Program : Client Terminal
Version : 4.00 (build: 220, 7 Nov 2008)
OS : Windows 2003 Server 5.2 Service Pack 2 (Build 3790)
Processors : 4 x X86 (level 6)
Memory : 393216/100404 kb
Exception : C0000005
Address : 6CC0C2A6
Access Type : read
Access Addr : 00000000
Registers : EAX=00000000 CS=0023 EIP=6CC0C2A6 EFLGS=00010212
: EBX=000018E8 SS=002b ESP=06DEF714 EBP=06DEF714
: ECX=77BCFF65 DS=002b ESI=06F07878 FS=0053
: EDX=00000001 ES=002b EDI=00000000 GS=002b
Stack Trace : 6CC02833 6CC03F0D 004586F5 00463C57
: 004554D1 7D4DFE21 00000000 00000000
: 00000000 00000000 00000000 00000000
: 00000000 00000000 00000000 00000000
Modules :
1 : 00400000 004F6000 c:\program files (x86)\1_pallada\interbank fx trader 4_6\terminal.exe
2 : 009C0000 0009B000 c:\windows\syswow64\advapi32.dll
3 : 00A60000 00052000 c:\windows\syswow64\shlwapi.dll
4 : 04360000 0008B000 c:\windows\syswow64\oleaut32.dll
5 : 046C0000 00017000 c:\windows\system32\odbcint.dll
6 : 05410000 002C5000 c:\windows\system32\xpsp2res.dll
7 : 061F0000 0008E000 c:\windows\system32\wzcsvc.dll
8 : 48890000 0003D000 c:\windows\system32\odbc32.dll
9 : 4B180000 00104000 c:\windows\system32\esent.dll
10 : 5F270000 0005A000 c:\windows\system32\hnetcfg.dll
11 : 68000000 00035000 c:\windows\system32\rsaenh.dll
12 : 6CC00000 0001E000 c:\program files (x86)\1_pallada\interbank fx trader 4_6\experts\libraries\train_04.dll
13 : 71AE0000 00008000 c:\windows\system32\wshtcpip.dll
14 : 71BB0000 00009000 c:\windows\system32\wsock32.dll
15 : 71BC0000 00008000 c:\windows\system32\rdpsnd.dll
16 : 71BF0000 00008000 c:\windows\system32\ws2help.dll
17 : 71C00000 00017000 c:\windows\system32\ws2_32.dll
18 : 71C40000 00057000 c:\windows\syswow64\netapi32.dll
19 : 72D60000 00008000 c:\windows\system32\msacm32.drv
20 : 730A0000 0000E000 c:\windows\system32\wzcsapi.dll
21 : 73EB0000 00121000 c:\windows\system32\mfc42.dll
22 : 74DE0000 00012000 c:\windows\system32\clusapi.dll
23 : 76190000 00012000 c:\windows\syswow64\msasn1.dll
24 : 761B0000 00093000 c:\windows\syswow64\crypt32.dll
25 : 76280000 00005000 c:\windows\system32\msimg32.dll
26 : 762B0000 00049000 c:\windows\syswow64\comdlg32.dll
27 : 76300000 001C0000 c:\windows\system32\netshell.dll
28 : 76A80000 00012000 c:\windows\system32\atl.dll
29 : 76AA0000 0002D000 c:\windows\system32\winmm.dll
30 : 76B70000 0000B000 c:\windows\system32\psapi.dll
31 : 76B80000 0002E000 c:\windows\system32\credui.dll
32 : 76CC0000 00005000 c:\windows\system32\wmi.dll
33 : 76CD0000 00019000 c:\windows\system32\mprapi.dll
34 : 76CF0000 0001A000 c:\windows\system32\iphlpapi.dll
35 : 76D10000 0001F000 c:\windows\system32\dhcpcsvc.dll
36 : 76DC0000 00028000 c:\windows\system32\adsldpc.dll
37 : 76DF0000 00034000 c:\windows\system32\activeds.dll
38 : 76E30000 0000C000 c:\windows\system32\rtutils.dll
39 : 76E40000 00012000 c:\windows\system32\rasman.dll
40 : 76E60000 0002F000 c:\windows\system32\tapi32.dll
41 : 76E90000 0003F000 c:\windows\system32\rasapi32.dll
42 : 76ED0000 0002A000 c:\windows\system32\dnsapi.dll
43 : 76F00000 00008000 c:\windows\system32\wtsapi32.dll
44 : 76F10000 0002E000 c:\windows\syswow64\wldap32.dll
45 : 76F70000 00007000 c:\windows\system32\winrnr.dll
46 : 76F80000 00005000 c:\windows\system32\rasadhlp.dll
47 : 770E0000 00108000 c:\windows\system32\setupapi.dll
48 : 771F0000 00011000 c:\windows\system32\winsta.dll
49 : 77210000 000AB000 c:\windows\syswow64\wininet.dll
50 : 77670000 00139000 c:\windows\syswow64\ole32.dll
51 : 77840000 00042000 c:\windows\system32\netman.dll
52 : 77B70000 00014000 c:\windows\system32\msacm32.dll
53 : 77BA0000 0005A000 c:\windows\syswow64\msvcrt.dll
54 : 7C8D0000 007FF000 c:\windows\syswow64\shell32.dll
55 : 7D4C0000 00130000 c:\windows\syswow64\kernel32.dll
56 : 7D600000 000F0000 c:\windows\system32\ntdll.dll
57 : 7D800000 00090000 c:\windows\syswow64\gdi32.dll
58 : 7D8D0000 00050000 c:\windows\syswow64\secur32.dll
59 : 7D930000 000D0000 c:\windows\syswow64\user32.dll
60 : 7DA20000 000E0000 c:\windows\syswow64\rpcrt4.dll
61 : 7DB30000 00080000 c:\windows\system32\mswsock.dll
62 : 7DBD0000 00103000 c:\windows\winsxs\wow64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.3790.3959_x-ww_5fa17f4e\comctl32.dll
63 : 7DF50000 00070000 c:\windows\system32\uxtheme.dll
64 : 7E020000 0000F000 c:\windows\system32\samlib.dll
Call stack :
Use Windows XP SP 2
It is a Microsoft incompatibility.
You can see my windows version.
Hi Barna.
I would like to test your EA too, but I have this problem in my MT4 terminal:
There has been a critical error
Time : 2008.12.04 11:56
Program : Client Terminal
Version : 4.00 (build: 220, 7 Nov 2008)
OS : Windows 2003 Server 5.2 Service Pack 2 (Build 3790)
Processors : 4 x X86 (level 6)
Memory : 393216/100404 kb
Exception : C0000005
Address : 6CC0C2A6
Access Type : read
Access Addr : 00000000
Registers : EAX=00000000 CS=0023 EIP=6CC0C2A6 EFLGS=00010212
: EBX=000018E8 SS=002b ESP=06DEF714 EBP=06DEF714
: ECX=77BCFF65 DS=002b ESI=06F07878 FS=0053
: EDX=00000001 ES=002b EDI=00000000 GS=002b
Stack Trace : 6CC02833 6CC03F0D 004586F5 00463C57
: 004554D1 7D4DFE21 00000000 00000000
: 00000000 00000000 00000000 00000000
: 00000000 00000000 00000000 00000000
Call stack :Better moving averages.
Use Windows XP SP 2
It is a Microsoft incompatibility.
You can see my windows version.hmm... I would like to use Win XP, but my VPS uses Win Server. Isn't possible to compile your dll with Windows server?
Thank you Barnix.
Same problem with Windows XP
Hi Barna.
I've tried in my job computers with Win XP and I had the same problem:
There has been a critical error
Time : 2008.12.05 09:25
Program : Client Terminal
Version : 4.00 (build: 220, 7 Nov 2008)
OS : Windows XP Professional 5.1 Service Pack 2 (Build 2600)
Processors : 1 x X86 (level 15)
Memory : 1039344/317700 kb
Exception : C0000005
Address : 6CC0C2A6
Access Type : read
Access Addr : 00000000
Registers : EAX=00000000 CS=001b EIP=6CC0C2A6 EFLGS=00010216
: EBX=000018E8 SS=0023 ESP=04CEF710 EBP=04CEF710
: ECX=77C1F000 DS=0023 ESI=0463FF38 FS=003b
: EDX=0033FFB8 ES=0023 EDI=00000000 GS=0000
Stack Trace : 6CC02833 6CC03F0D 004586F5 00463C57
: 004554D1 7C80B50B 00000000 00000000
: 00000000 00000000 00000000 00000000
: 00000000 00000000 00000000 00000000
Modules :
1 : 00400000 004F6000 c:\arquivos de programas\interbank fx trader 4\terminal.exe
First versions
I don't whant to bore you, but just to say one more thing: the first versions of this EAs that you share didn't have this problems.
Regards.
To save you the pain . I went through the same thing but i quickly figured out . Here is the reason why
When you run a Backtest . Win XP does not release the Memory immediately therefore if you happen to run again immediately it will crash the MT4 terminal when it reaches 2 Gigs of Memory usage . Because you have i think 1 GB of RAM it will crash once it hits 1 gig . To see what i am talking about . Open up Task Manager and then sort the processes from Highest usage to Lowest. and then start your MT4 client and do Backtest.
The Maximum memory Limit for MT4 Application is 2 Gigs i.e if the Memory Usage for MT4 Application reaches 2 Gigs it will crash the MT4 application only
If you have less than 2 GB Memory for your Laptop or PC then the MT4 app will crash before the 2 Gig mark because it does not have enough
memory.
The reason i noticed quickly was because i have 12 Gigs of DDR3 on a Windows 64-Bit Vista System with Quad Intel Processors but it still did crash. So it was not Lack of memory but the limitation of MT4 Application i.e ( Most Windows 32-Bit Application like MT4 still have a 2 Gig of RAM Limit ).
Now i am able to do a BACKTEST but i have to watch the Memory usage and i don't run one back test immediately after another to avoid this.
To save you the pain . I went through the same thing but i quickly figured out . Here is the reason why
When you run a Backtest . Win XP does not release the Memory immediately therefore if you happen to run again immediately it will crash the MT4 terminal when it reaches 2 Gigs of Memory usage . Because you have i think 1 GB of RAM it will crash once it hits 1 gig . To see what i am talking about . Open up Task Manager and then sort the processes from Highest usage to Lowest. and then start your MT4 client and do Backtest.
The Maximum memory Limit for MT4 Application is 2 Gigs i.e if the Memory Usage for MT4 Application reaches 2 Gigs it will crash the MT4 application only
If you have less than 2 GB Memory for your Laptop or PC then the MT4 app will crash before the 2 Gig mark because it does not have enough
memory.
The reason i noticed quickly was because i have 12 Gigs of DDR3 on a Windows 64-Bit Vista System with Quad Intel Processors but it still did crash. So it was not Lack of memory but the limitation of MT4 Application i.e ( Most Windows 32-Bit Application like MT4 still have a 2 Gig of RAM Limit ).
Now i am able to do a BACKTEST but i have to watch the Memory usage and i don't run one back test immediately after another to avoid this.Thank you by your explanation progressapama. But, for me this is still strange. Maybe I didn't understood right... I guess you are saying that is a memory limitation, but barnix computer have 256Mb and is working well. Also, I'm trying to make a Forwardtest instead Backtest. Have you a sugestion for this situation?
So long as the EA does not use more than 2 Gigs or Less , if you have less memory than 2 Gigs then you fine. If you look at the Task Manager and you see the Memory Usage for that task which will be something like "terminal.exe". if it keeps rising when the EA does calculation at one minute intervals (M1) and does not stablize then let it run until it reaches your Max memory it will crash whether it is Forward test or backtest. I am not sure if you can run it with 256 MB of RAM unless you are using RAMDISK or Linux OS which does good memory management compared to Windows XP otherwise it is going to Drag or slow down that Machine
I do run both Forward and Backtest and i have seen it happen. I am now looking into whether it has something to do with MT4 Build 220. i will update if i find something.
My 2 cents
thanks
Simple dll example
using mingw with Dev-Cpp Ide.
gcc 3.4.2
The Dev-C++ Resource Site