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

Re: [amibroker] Re: AmiBroker Crashing While Using IQFeed Plugin


  • Date: Thu, 14 Jan 2010 11:03:11 +0100
  • From: Tomasz Janeczko <groups@xxxxxxxxxxxxx>
  • Subject: Re: [amibroker] Re: AmiBroker Crashing While Using IQFeed Plugin

PureBytes Links

Trading Reference Links

Hello,

In fact you should DECREASE maximum megabytes and set number of symbols 
to 11. 10 has special meaning "adjust automatically". Also it was 
discussed in the past that using 32 bit operating system you are NOT able
to use more than 2GB of memory per application (or 3GB with /3G BOOT.INI 
switch). This is limitation of 32-bit operating system and 32-bit 
addressing. For AmiBroker capabilities regarding addressable memory see: 
http://www.amibroker.com/guide/compat.html

So first thing you should do is to adjust your BOOT.INI setting by 
adding /3G switch in order to enable Windows to actually see more 
memory. Even with that 32-bit Windows is not capable of using more than 
3.5GB RAM (without PAE) in total because 0.5 GB of address space is 
usually reserved for graphic card, and other I/O cards, etc.

The /3GB switch allocates 3 GB of virtual address space to an 
application that uses IMAGE_FILE_LARGE_ADDRESS_AWARE in the process 
header (AmiBroker has it). This switch allows applications to address 1 
GB of additional virtual address space above 2 GB.

The following example shows how to add the /3GB parameter in the 
Boot.ini file to enable application memory tuning:
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(2)\WINNT
[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINNT="Your Windows with 3GB 
support" /3GB

Best regards,
Tomasz Janeczko
amibroker.com

On 2010-01-14 07:34, Christopher wrote:
> Thanks Marc and ReefBreak,
>
> I used Task Manager to determine that the memory limit in AmiBroker is causing my problem. I tried adjusting the memory settings in the Data Preferences tab, but they seem insufficient for my purposes. I cannot set number of symbols to something less than 10, and I cannot increase maximum megabytes over 1023. Are there hidden registry flags to modify these restrictions?
>
> I am working with large histories for a very small number of symbols, and it seems that I could avoid the crashes and avoid having to manually flush the cache if I could only set the number of symbols to something in the 3-5 symbol range, or if I could increase the max cache memory to make better use of my RAM.
>
> Actually, I thought I had 4GB RAM on this machine, but it turns out that I only have 2.5GB right now. Does the max cache size increase if I add more RAM? Does it also increase if I go to x64 platform?
>
> It would be nice if AmiBroker (or the plugin for IQFeed) automatically flushed the cache instead of crashing. Seems like this shouldn't be happening. Is there at least a keyboard shortcut to flush the cache, so that I don't have to keep going to database settings dialog?
>
> I wanted to thank everyone who responded to my post. It has been frustrating getting all setup for using AmiBroker to backtest my ideas (I just want to trade!)
>
> Good Trading,
> Chris
>
>
> --- In amibroker@xxxxxxxxxxxxxxx, "de_techneut"<twistedcharts@xxx>  wrote:
>    
>> Hi Chris,
>>
>> in order to check memory in detail you can use:
>> CTRL+ALT+DELETE and then select task manager.
>>
>> there you'll be able to look at the processes running on your computer.
>> it is possible to add columns to the viewing screen.
>> one of the columns is peak memory usage.
>> it'l tell you if one application is using excessive memory.
>>
>> btw: it doesn't seem logical that IQfeed plugin is the problem as it is an official amibroker release( althou i don't use it myself ).
>>
>> it is more likely that an other faulty plugin or dll is causing this.
>> i have wrecked computers because a program i was using was not handling memory like it should with frequent BSOD's as a result.
>> when that happens often enough the whole computer will suffer...
>>
>> hope this helps
>>
>> Marc
>>      
>
>
> ------------------------------------
>
> **** IMPORTANT PLEASE READ ****
> This group is for the discussion between users only.
> This is *NOT* technical support channel.
>
> TO GET TECHNICAL SUPPORT send an e-mail directly to
> SUPPORT {at} amibroker.com
>
> TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
> http://www.amibroker.com/feedback/
> (submissions sent via other channels won't be considered)
>
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
>
> Yahoo! Groups Links
>
>
>
>
>    


------------------------------------

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    amibroker-digest@xxxxxxxxxxxxxxx 
    amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

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