Hello, Tools->Performance Monitor, it shows "virtual memory available". If it drops below 100M you are running out of memory. There is another factor, more difficult to account for, called memory fragmentation. There are tools that show memory maps like Microsofts VMMap and it allows to see clearly that Windows is very bad when it comes to fragmenting memory as it spreads several OS DLLs accross memory space leading to fragmentation from the very beginning, so despite having for example 2GB free virtual space, this is fragmented by Windows from the start so largest free memory block is below half of that (1GB). And it does not matter how much RAM you have. RAM is pretty irrelevant in Windows as what it counts is addressable space (virtual memory space) that is limited to 2GB (or 3GB with /3GB switch). The only way to solve Windows memory limitations is to run 64 bit version on 64 bit Windows.
Best regards, Tomasz Janeczko amibroker.com ----- Original Message ----- From: Keith McCombs To: [email protected] Sent: Monday, September 28, 2009 10:24 AM Subject: Re: [amibroker] Re: AB has for Win32 stopped working problem Is there any way that AB could detect that it is, or may be, running out of memory and post a warning or error message, rather than just stopping? If a program just stops without any warning or message, it is very confusing for us users. Sometimes we think it is some other program or even a hardware issue, overheating cpu, bad ram bit, or hard drive error. -- Keith Tomasz Janeczko wrote: The eBoostr program does *NOT* increase your RAM. All "memory booster" programs are only source of problems because they usually interfere with normal operation of windows. The only way to increase free RAM is to STOP/disable from running unnecessary programs / services, NOT to add new ones that do consume even more memory. Best regards, Tomasz Janeczko amibroker.com ----- Original Message ----- From: pernin22 To: [email protected] Sent: Sunday, August 02, 2009 11:44 PM Subject: [amibroker] Re: AB has for Win32 stopped working problem Hi folks, I join the opinion of Tomasz. BTW, there could be a way to increase the RAM amount This way is at http://www.eboostr.com/ but remenber, it is just a hekp, not THE sikytion to all your memory problems. Regards, --- In [email protected], "Tomasz Janeczko" <gro...@...> wrote: > > Hello, > You guys seem to have some crazy expectations. Your computer hardware has limits ! > Let me calculate, > 8 years, 1-minute data ? 480 minutes per trading day, 250 trading days per year = 960K bars per symbol > One bar 40 bytes. One symbol 38MB. > 100 Symbols = 3.8GB > For data alone. > =========== > Now imagine that if you are running backtest you must have at least TWICE that memory to > keep intermediate results. > > You have simplt run out of memory. > Solutions for your "problem": > 1. Decrease number of symbols > 2. Decrease number of bars > 3. Decrease in-memory cache in Tools->Preferences, "Data" to 11 symbols > 4. Run 64 bit version of AmiBroker on 64 bit version of Windows and have 10GB RAM installed > Best regards, > Tomasz Janeczko
