A) Look in the log file & see what's actually filling it up. Maybe a custom indicator/EA is logging heaps of stuff
B) Invest in a larger drive
C) Paper trade until your situation improves
Hello Mql,
my log file has so much Data. It kills my memory. The same process in the tester File. A solution should be created.
Thanks
Balduin
Here is a solution I found at http://helpdesk.commercialnetworkservices.net/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=168&nav=0,1,2
Solution
Some subscribers may want to delete their MT4 log files periodically to prevent the VE disk from becoming full, which can lead to serious issues. It is easy to do with a scheduled script. Here is how:
Open notepad and enter the following line:
del /S "C:\Program Files\*.log"
Save the file to your C drive as "deletefiles.BAT"
Now to configure the script to run on schedule...
start->control panel->Scheduled Tasks->add a task
Click "Next" then "Browse"
Navigate to the file you just saved, C:\deletefiles.BAT and select it
Under "Perform this task", select "daily" and click "next"
Set a time to run the batch and click next.
In the user name field, enter "Administrator"
Enter your Administrator password in the password fields
Click "Finish"
The MT4 log files will now be deleted every day at the time above. Note the current log file will not be deleted as it will be in use.
Hope it helps
seeths
Create a script to delete MT4 / MT5 log files (builds 670 and 965 respectively current)
Create a script to delete MT4 / MT5 log files (builds 670 and 965 respectively current)
OK - Gotcha
Thought it may be helpful as the thread comes up in search engines and the script is current.
Create a script to delete MT4 / MT5 log files (builds 670 and 965 respectively current)
Thanks, it was very helpful

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello Mql,
my log file has so much Data. It kills my memory. The same process in the tester File. A solution should be created.
Thanks
Balduin