Bremsford:
"Failed to create empty document"
Hi,
I wonder if anyone has come across this problem. I run Win server 2008 16gig Memory and 8 core processor. When i launch more than 86 meta traders on the server, The CPU runs about 10% and memory used is less than 5 gig, But I start to get this error, "Failed to create empty document" in an MT4 message box.
The meta traders are launched by a visual basic application using Process.start.
Don't install in \program files * on Vista/Win7
Hi thanks for the response, all Meta traders are in My documents, I don't think its a permission issue.
Perhaps the OS is running short of other resources ? how many file handles are open ?
Hi thanks for the reply, I agree, it seems to be a resources issue, but I have no idea what, We have a trade at 21:30 tonight UK time, I'll message you again after with the number of threads running.
Thanks
Mark
Hi thanks for the reply, I agree, it seems to be a resources issue, but I have no idea what, We have a trade at 21:30 tonight UK time, I'll message you again after with the number of threads running.
Thanks
Mark
Hi, If I look at task Manager it shows Handles, is that the figure you wanted?, if so last night I ran 60 Meta Traders and had 24000 handles
Thanks
Mark
Hi, If I look at task Manager it shows Handles, is that the figure you wanted?, if so last night I ran 60 Meta Traders and had 24000 handles
Thanks
Mark
It's not just MT4 you need to be looking at . . . system resources are consumed by anything that runs in the OS.
For example, I was having memory issues on my laptop, it exhibited as a memory leak . . . I finally noticed that my nonpaged pool was over 3GB . . . so the issue was with a device driver. I installed poolmon (from the DDK) and found that "File" was using most of the nonpaged pool . . . so I added the file handles column to Task Manager and found that the software for my track pad had 9 million file handles open . . . in this state running Notepad is not a problem . . . running MT4 could be a problem though and the problem would not have been caused by MT4 but would be more obvious when MT4 was run.
It's not just MT4 you need to be looking at . . . system resources are consumed by anything that runs in the OS.
For example, I was having memory issues on my laptop, it exhibited as a memory leak . . . I finally noticed that my nonpaged pool was over 3GB . . . so the issue was with a device driver. I installed poolmon (from the DDK) and found that "File" was using most of the nonpaged pool . . . so I added the file handles column to Task Manager and found that the software for my track pad had 9 million file handles open . . . in this state running Notepad is not a problem . . . running MT4 could be a problem though and the problem would not have been caused by MT4 but would be more obvious when MT4 was run.
Hi a little more info, without meta traders open the directory size of %USERPROFILE%\AppData\Local\Temp = 183 meg, when I launch Meta traders it goes to 22gig
Hi a little more info, without meta traders open the directory size of %USERPROFILE%\AppData\Local\Temp = 183 meg, when I launch Meta traders it goes to 22gig
Yep, that's what you get for installing all these MT4s to an inappropriate directory . . . My Documents is part of the User profile . . . try logging on with a different user and you won't be able to run any of your MT4s . . . unless you have munged the user rights on the Profiles . . .
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi,
I wonder if anyone has come across this problem. I run Win server 2008 16gig Memory and 8 core processor. When i launch more than 86 meta traders on the server, The CPU runs about 10% and memory used is less than 5 gig, But I start to get this error, "Failed to create empty document" in an MT4 message box.
The meta traders are launched by a visual basic application using Process.start.
Any help would be appreciated.
Thanks