Memory Usage Problem
Memory Usage Problem
- Subject: Memory Usage Problem
- From: Keary Suska <email@hidden>
- Date: Tue, 04 Apr 2006 12:04:00 -0700
I am having an issue with an app where it appears that the system (or
runtime, or whatever) is not returning memory to the system after being
freed.
My app is a basic database querying front-end. It makes a SQL call (uses
libpq for access to PostgreSQL) and takes the full results (originally C
strings) and puts them into an NSArray of NSArrays of NSString. When
executing a query that returns large results, I can see the memory usage go
way up (via BigTop or Activity Monitor), but after the results are released
(I have verified that the results are indeed being released via
ObjectAlloc), the memory never goes down.
I can execute the same large query over and over without any increase in
memory, so I don't think it's leaking, but it never goes down even when
executing smaller queries.
Does anyone know why this is the case and how I can flush the unused memory?
I am using Xcode 2/Tiger.
Thanks,
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden