I'm facing lot of segmentation faults in my code. I tried using some memory debugger like valgrind but all in vain as they make my application a lot slower and due to which my application does not work at all. And so I'm not able to debug my code.
I'm thinking of increasing the Heap Size of system which is a Fedora Core 6, kernel 2.6.18
1. Please suggest if this is a wise idea to increase the heap when there is problem debugging the code?
2. Also, suggest how can I increase the Heap Size of my machine?
3. Is there any harm to system with increase in the heap size?
Thanks and Regards,