Hello,
No it is not memory error. This is some intermittient bug in CMAE. You
would need to close AmiBroker and move CMAE.DLL outside Plugins
directory when it happens.
Best regards,
Tomasz Janeczko
amibroker.com
On 2010-02-01 17:13, James wrote:
Ton,
1. 1GB of Ram
2. 61 optimization steps, the total number for exahustive optimization
3. It was happening almost immediately after hitting the optimize
button, but just now I tried running one of the files that was making
it crash and cannot get it to crash. Even stranger the first time I
ran the file today it took 5.5 minutes to run the 61 steps, and now I
just ran it in 42 seconds. I don't understand it.
It must have been a memory problem on my end, but this occurred on
Friday, Saturday and Sunday, but it is not happening now. Plus the
exception report included the line below regarding module CMAE.dll,
but this was when I had removed the CMAE line and was attempting
exhaustive optimization.
> AmiBroker version 5.29.6.5096
> ( cooltool.dll 5.28.0, mfc42.dll 6.2.4131, msvcrt.dll 7.0.2600 )
> Microsoft Windows XP version 5.1 (Build 2600)
> Service Pack 3.0
> Common Controls: 6.0
> Unhandled exception
> Type: CSysException
> Code: c0000005
> Description: ACCESS VIOLATION
> Address: 69015ADB
> Detailed exception information:
> Broker.exe caused an EXCEPTION_ACCESS_VIOLATION in module CMAE.dll
at 001B:69015ADB
> Call Stack:
> 001B:69015ADB CMAE.dll
*From:* Ton Sieverding <[email protected]>
*To:* [email protected]
*Sent:* Mon, February 1, 2010 8:37:37 AM
*Subject:* Re: [amibroker] Problem removing OptimizerSetEngine("cmae");
Hi James,
Can you please let me know the following. Just to avoid a
wrong conclusion ...
1. Internal memory on your system ? GBytes ?
2. Number of steps with exhaustive optimization ? Is 60 steps the
total number or the number for cmae ?
3. Does this happen immed after hitting the OPTIMIZE button or after
several steps ? So after 60 steps ?
Regards, Ton.
----- Original Message -----
*From:* James <mailto:[email protected]>
*To:* amibro...@yahoogrou ps.com <mailto:[email protected]>
*Sent:* Monday, February 01, 2010 2:57 PM
*Subject:* Re: [amibroker] Problem removing OptimizerSetEngine(
"cmae");
There are only 60 steps and it crashes on the second one. I have
been able to replicate it. Any code that I have this line:
OptimizerSetEngine ( "cmae" ); will crash after I change it to: //
OptimizerSetEngine( "cmae");
If I delete the line altogether, it still crashes.
*From:* Steve Dugas <sjdu...@comcast. net
<mailto:[email protected]>>
*To:* amibro...@yahoogrou ps.com <mailto:[email protected]>
*Sent:* Sun, January 31, 2010 6:42:42 PM
*Subject:* Re: [amibroker] Problem removing OptimizerSetEngine(
"cmae");
Hi - Exhaustive optimizer can crash if the opt has too many steps
and it eventually runs out of memory. Does the crash happen well
into the opt?
Steve
----- Original Message -----
*From:* James <mailto:[email protected]>
*To:* amibro...@yahoogrou ps.com
<mailto:[email protected]>
*Sent:* Sunday, January 31, 2010 6:26 PM
*Subject:* [amibroker] Problem removing OptimizerSetEngine(
"cmae");
Has anyone else had a problem removing this line from their code:
OptimizerSetEngine ( "cmae" );
and then trying to run an exhaustive optimization? Every file
of code I remove this from, I then can an exception error
crash when I try to optimize. I am running XP pro and version
5.29.6.
James