I don\'t know what to think here...
We have a component that runs as a service. It runs perfectly well on my local machine, but on some other machine (on both machine RA
bad_alloc
doesn't necessarily mean there is not enough memory. The allocation functions might also fail because the heap is corrupted. You might have some buffer overrun or code writing into deleted memory, etc.
You could also use Valgrind or one of its Windows replacements to find the leak/overrun.