Download MetaTrader 5

Memory not available

To add comments, please log in or register
Wei Sun
699
Wei Sun 2011.12.15 10:33 
2011.12.15 13:44:30 MemoryException 34471936 bytes not available

What's wrong with my EA ?
Slava
Moderator
6915
Slava 2011.12.15 13:22  

Your EA is good.

Second question? 

BHC
243
BHC 2012.02.13 03:16  
Am getting a similar error. My EA is not placing trades ...
Slava
Moderator
6915
Slava 2012.02.13 07:38  
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
Biantoro Kunarto
15279
Biantoro Kunarto 2012.02.14 06:25  

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

Slava
Moderator
6915
Slava 2012.02.14 11:28  
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
Biantoro Kunarto
15279
Biantoro Kunarto 2012.02.15 02:29  

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!
Slava
Moderator
6915
Slava 2012.02.15 06:11  

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

Biantoro Kunarto
15279
Biantoro Kunarto 2012.02.15 09:04  
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.
To add comments, please log in or register