Original Post
i have tried to make a tutorial excercize on the subject of
genetic algorithms.
its not nessary to understand what genetic algorithms are to
try solve my problem.
i have some code that is called about 10 Million times,
oddly it produces about 3-10 assertion failed per run !!!
in this code there are few random paths, but according to my
estimations (that i am almost sure of)
it needs only about 3000 times to go through all
path possibilities.
(so i think if there is such an obvious leak, its should be reported
more than just few times)
also , these alternating paths have no pointer operations,
so its unlikely there is some leak in one path but not in
the other!!
note: i have a C++ class, wrapped in a C++ __gc class, called by
vb.net (2002).
it says that:
file: dbgheap.c
line: 346
expression: _CrtCheckMemory()
how can i debug this error ?!?!
any suggestions ?!