<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi,</div><div><br></div><div>I run MapServer in a Docker container. I noticed its memory utilization climbed much higher than expected. This seems to happen only under the following conditions:</div><div><br></div><div>* Files are accessed network-based filesystems (I tried both /vsicurl/ and /vsis3/)</div><div>* Using gdal  > 2.2.4 (tested with 2.3.0, 2.3.2 & 2.4.1.  I see the same behavior with both MapServer-7.0.7 and MapServer-7.2.2.</div><div><br></div><div>I had a hard time isolating this to GDAL and could not reproduce with similar gdal_translate commands.  So I put together a little example to try and demonstrate the problem.</div><div><a href="https://github.com/pedros007/gdal_mapserver_memory">https://github.com/pedros007/gdal_mapserver_memory</a><br></div><div dir="ltr"><br></div>Does anyone have any ideas as to what might be going on? I tried various cache settings, which do not seem to reduce memory utilization:</div><div dir="ltr"><a href="https://github.com/pedros007/gdal_mapserver_memory/blob/master/mapfiles/indonesian_redcross.map#L15-L18">https://github.com/pedros007/gdal_mapserver_memory/blob/master/mapfiles/indonesian_redcross.map#L15-L18</a><br class="gmail-Apple-interchange-newline"><div dir="ltr"><div><br></div><div dir="ltr" class="gmail_signature">Thanks,</div><div dir="ltr" class="gmail_signature">Pete</div></div></div></div></div>