Re: [gdal-dev] Memory usage for GetProjectionRef

2010-10-06 Thread Matt Klaric
On Wed, Oct 6, 2010 at 7:34 AM, Frank Warmerdam wrote: > Livneh Yehiyam wrote: > >> I agree that the amount is small per file, but in our application we need >> to keep thousands of files open, and keep memory consumption to a certain >> limit. >> > > Ah, I'm starting to grasp your issue. I will

Re: [gdal-dev] Memory usage for GetProjectionRef

2010-10-06 Thread Frank Warmerdam
Livneh Yehiyam wrote: Frank, I agree that the amount is small per file, but in our application we need to keep thousands of files open, and keep memory consumption to a certain limit. Livneh, Ah, I'm starting to grasp your issue. I will humbly suggest that the idea of keeping thousands of f

Re: [gdal-dev] Memory usage for GetProjectionRef

2010-10-05 Thread Livneh Yehiyam
is caused by some sort of caching. When I open hundreds of such files, the amount of memory is multiplied. Can I limit this amount? Yehiyam Sent from my mobile - From: "Frank Warmerdam" Subject: Re: [gdal-dev] Memory usage for GetProjectionRef Date: 06 או

Re: [gdal-dev] Memory usage for GetProjectionRef

2010-10-05 Thread Frank Warmerdam
Livneh Yehiyam wrote: Hi I'm sorry if I was misunderstood, but these are not leaks I'm worried about, but rather I'm trying to understand the memory consumption of the various GDAL calls I use. I didn't notice any leak, and I trust you test for leaks all the time. Livney, We don't check for m

RE: [gdal-dev] Memory usage for GetProjectionRef

2010-10-05 Thread Livneh Yehiyam
ay, October 05, 2010 11:32 PM To: Livneh Yehiyam Cc: gdal-dev Subject: Re: [gdal-dev] Memory usage for GetProjectionRef Livneh Yehiyam wrote: > Hi > After further investigation I think the situation is more complex, as the > results I'm getting depends on the file opened. > I ran

Re: [gdal-dev] Memory usage for GetProjectionRef

2010-10-05 Thread Frank Warmerdam
Livneh Yehiyam wrote: Hi After further investigation I think the situation is more complex, as the results I'm getting depends on the file opened. I ran the test with several tiff files and I'm getting completly different results, as described below. Also, to rest my mind that this is not a pro

RE: [gdal-dev] Memory usage for GetProjectionRef

2010-10-05 Thread Livneh Yehiyam
itanya kumar CH [mailto:chaitanya...@gmail.com] Sent: Tuesday, October 05, 2010 9:36 AM To: Livneh Yehiyam Cc: gdal-dev Subject: Re: [gdal-dev] Memory usage for GetProjectionRef Livneh, I am assuming the 80KB refers to the memory change for getting the projection and not the whole dataset. Can y

Re: [gdal-dev] Memory usage for GetProjectionRef

2010-10-05 Thread Chaitanya kumar CH
Livneh, I am assuming the 80KB refers to the memory change for getting the projection and not the whole dataset. Can you check if the 80KB memory is freed and not leaked if the dataset is closed? On Mon, Oct 4, 2010 at 10:41 PM, Livneh Yehiyam wrote: > Hi > We are using Gdal 1.7.0b from FWTools