Memory not available

 
2011.12.15 13:44:30 MemoryException 34471936 bytes not available

What's wrong with my EA ?
 

Your EA is good.

Second question? 

 
Am getting a similar error. My EA is not placing trades ...
 
BHC:
Am getting a similar error. My EA is not placing trades ...
"MemoryException 34471936 bytes not available" means your system cannot allocate 34 Mbytes in one extended block of memory. Reasons: your EA allocates too many blocks of memory; your system have not enough memory
 

I dont have an EA, but Iam getting a similar error. Why this is happened?

 
biantoro:

I dont have an EA, but Iam getting a similar error. Why this is happened?

Ok. You have no EA. You don't use any indicators not only custom.

What do you think how many memory uses your terminal? Open task manager and see.

How many memory uses one chart? What do You think? Open, High, Low, Close - 4 doubles (32 bytes), datetime - 8 bytes, spread - 4 bytes, volumes - 2 long integers. About 60 bytes per one bar. There are also news, economic calendar (with multiple objects on the charts), mails, trade history etc.

If you use indicators - each data buffer occupied bars count * sizeof(double) bytes, and some indicators have up to 7 data buffers

Documentation on MQL5: Standard Constants, Enumerations and Structures / Chart Constants / Types of Chart Events
  • www.mql5.com
Standard Constants, Enumerations and Structures / Chart Constants / Types of Chart Events - Documentation on MQL5
 

Thank's for your information. Today I open MT5 and I dont see memory problem again, I dont know what I did yesterday.

Now I have another question. After I check in the task manager. There is 2 process after I open MT5, one is Terminal.exe, other is MetaTester.exe. As far as I know MetaTester.exe only running when I check "Join MQL5 Cloud Manager" in the MetaTester 5 Agents Manager. After I saw the MetaTester 5 Agents Manager, "Join MQL5 CLoud Manager is in the unchecked position. After I closed the terminal, MetaTester. exe still running. Why this is happen ?

Distributed Computing in the MQL5 Cloud Network
  • cloud.mql5.com
Connect to the MQL5 Cloud Network (Cloud Computing) and earn extra income around the clock — there is much work for you computer!
 

MetaTester.exe can work as local agent, as Tester Visualization agent and as remote agent. Remote agent as service can be cloud agent

Local agent shutdowns in 5 minutes after last connection - this behavior provides fast startup if You test your EAs often

If you don't want give services (remote or cloud) - just turn off and uninstall it

 
stringo:

MetaTester.exe can work as local agent, as Tester Visualization agent and as remote agent. Remote agent as service can be cloud agent

Local agent shutdowns in 5 minutes after last connection - this behavior provides fast startup if You test your EAs often

If you don't want give services (remote or cloud) - just turn off and uninstall it

ok. thank you.
Reason: