[Tile-serving] [openstreetmap/osm2pgsql] Possible performance improvement (#1532)
Stephan
notifications at github.com
Thu Jul 8 18:51:48 UTC 2021
Windows taskmanager is much improved in Windows 10, but certainly not perfect. Process Explorer from Sysinternals gives some additional hints.
In which "column" of Task manager did you see the memory still allocated? What was it named? Is it called private active working set?
In this case I would also suspect that osm2pgsql still has it's fingers on it.
As Jochen mentioned osm2pgsql is supposed to return the memory. I have not checked the code, but assuming it is doing new/delete on the heap. So it would be the task of the heap memory management of the runtime to return this to the operating system.
read here on how Windows handles this: https://docs.microsoft.com/en-us/windows/win32/memory/working-set
So if you really see a persistent high working set, even in a situation where osm2pgsql already deleted the memory, then it would be worth investigating further. I would then suppose this being an issue with the specific runtime used here in the windows version.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/1532#issuecomment-876666944
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20210708/f790d5c5/attachment-0001.htm>
More information about the Tile-serving
mailing list