On 9/30/07, Nadia Zabehi <[EMAIL PROTECTED]> wrote:
> thanks for your reply. I have written a network simulation but the program is
> not resource efficient and is using a lot of memory. therefore it limits the
> number of requests I can process. I have been trying to work on deleting all
> the objects that are created but whatever I try to do, leads to segmentation
> fault.
>
> I need someone who can go through the code and can make sure that allocated
> resources are released once no more required in a proper way. Please let me
> know how you can help and we can go from there.
Rather than pay someone, you should learn how to use memory leak
detection programs that can do this kind of thing for you. You haven't
said what system you are writing for, but you can find free ones for
just about every compiler out there. For Linux systems, for instance,
valgrind is a popular one.
Search on Google for 'memory leak detection' -- you'll find all kinds
of stuff to help you. A software solution for profiling your code will
be a lot more effective than a human one.
-- Brett
------------------------------------------------------------
"In the rhythm of music a secret is hidden;
If I were to divulge it, it would overturn the world."
-- Jelaleddin Rumi