[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: PT and memory usage



PureBytes Links

Trading Reference Links

PS ... Quitting AB and restarting it between large runs gets you back 
to square one.

--- In amibroker@xxxxxxxxxxxxxxx, "Fred" <fctonetti@xxxx> wrote:
> This topic was addressed at length in ABTool and appeared initially 
> to my eyes to be a memory leak in ABTool.  ABTool has since been 
> shown to NOT be the culprit which only leaves one other possibility 
> which can be shown to exhibit similar problems without using 
anything 
> from ABTool.  What if anything is being done about it, I have no 
> idea.  I will tell you however that you seem to be using memory 
> faster than I do when I run it.  I usually have no trouble running 
> several thousand mutual funds through it with 2-300 combos of 
> optimization over a 5-10 year period w/o getting anywhere near 1G.
> 
> --- In amibroker@xxxxxxxxxxxxxxx, Sidney Kaiser <s9kaiser@xxxx> 
wrote:
> > I am running a Portfolio Trader scan this morning and thought 
this 
> > information might be helpful to other users.
> > 
> > PT scan, 16 iterations on ~280 stocks for 6 months:  I have had 
> memory 
> > problems with this scan so I decided to monitor what was going on 
> by using 
> > the Windows Task Manager, ( win 2k, win xp )  cntl-alt-delete to 
> invoke
> > 
> > I was not sure AB was running so I started there.
> > 
> > WTM processes tab: sure enough Broker.exe was getting 98% of the 
> CPU cycles.
> > 
> > To check the memory usage go to the WTM Performance tab: the 
> interesting 
> > things here is the Page File usage chart and the Physical Memory 
> statistics.
> > 
> > At first you can watch the executing programs eat up your 
physical 
> (RAM) 
> > memory.  It sucked down my 1024 Mb of RAM to about 5Mb before it 
> started to 
> > do serious disk swapping for temporary storage.  At the moment 
the 
> scan is 
> > still running and the Page File usage is up to 1.75 Gb.  If you 
run 
> out of 
> > Page File space the program will crash with (probably) an out of 
> memory 
> > error message.
> > 
> > You can monitor your system to see how a big scan is doing.  If 
you 
> have 
> > some spare HD space you can increase the Page File size.
> > 
> > Note: exit all running programs before you attempt changing the 
> Page File 
> > size or you may regret the resulting occasional crash...
> > 
> > start/control panel/system/advanced/performance 
> settings/advanced/virtual 
> > memory change/
> > 
> > 
> > The recommended settings at the bottom of the page will probably 
be 
> too 
> > small.  Use the custom setting to increase the min/max Page 
> > File  settings.  At the moment I am using 2Gb min and 4 Gb max.  
> Reboot to 
> > have the settings take effect.
> > 
> > Cheers
> > Sid
> > 
> > 
> > 
> > 
> > ---
> > Outgoing mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.489 / Virus Database: 288 - Release Date: 6/10/2003


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Lj3uPC/Me7FAA/ySSFAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/