If it's crashing the kernel, then you're running out of memory, which would explain why the answer is wrong. Also, I suggest you not use the RandomSearch method. I get better results with DifferentialEvolution or SimulatedAnnealing.