If No Memory Leaks, Is It Good Enough for Memory Management?
If No Memory Leaks, Is It Good Enough for Memory Management?
- Subject: If No Memory Leaks, Is It Good Enough for Memory Management?
- From: Bing Li <email@hidden>
- Date: Mon, 20 Jun 2011 15:26:49 +0800
Dear all,
I am still a new programmer of Cocoa. In my program, at least right now,
there are no memory leaks according to Instruments. Is it good enough for
memory management?
What I designed is a TCP server which receives TCP messages. When I tested
it, 200,000 XML were sent to it with a loop without any delays. Each XML had
800 bytes. In this case, no any memory leaks when testing it with
Instruments. However, according to Activity Monitor, the consumed memory was
increased from 17.9M to more than 400M. Immediately after the sending, the
consumed memory started to be lowered until it was stopped to 100M. Was it
normal? Why wasn't it 17.9M eventually?
Thanks so much for your help!
Best,
greatfree
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden