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

Multicharts optimization bug



PureBytes Links

Trading Reference Links

For those who use multicharts I have found the following optimization
bug when an outside DLL is loaded.

If you have a strategy that uses an outside DLL for computation and
that DLL is large...say 1meg then if you do an optimization with 5000
cases then you will get a memory overflow.

I get an out of memory error which means the DLL is not being detached
or unloaded at each optimization case and a new copy is being loaded
at each new optimization case.   The  DLL is approximately 1meg.
Total optimization cases is 5000.  thus the total memory that will be
used is 5gig. Once the memory used reaches 2gig I get an out of memory
error and crash.  when I tried the optimization with a 100K size DLL,
only 500meg of memory was addressed and no crash.