Hi James, I am running on a Windows XPPro DeskTop 2.6Ghz with 1GB internal AmiBroker 5.6.29 and did the same test for several AFL's. I cannot reproduce your problem. Also when trying the other optimizer engines, AmiBroker keeps on smiling ... This does not mean that I have no problems with AmiBroker. Enough bugs to drive me crazy. But not this one ... Also I cannot prove it, I have the feeling that my problems have more to do with Bill gates than with Tomasz Janeczko ...
Regards, Ton. ----- Original Message ----- From: James To: [email protected] Sent: Monday, February 01, 2010 5:13 PM Subject: Re: [amibroker] Problem removing OptimizerSetEngine("cmae"); 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 To: amibro...@yahoogrou ps.com 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> To: amibro...@yahoogrou ps.com 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 To: amibro...@yahoogrou ps.com 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
