On 5/15/2015 3:59 PM, Richard Greenwood wrote:
I'm working on Linux and have statically linked mapserv for convenience
but now I'm wondering if it is adversely affecting memory use. For
example, if I have five fcgi mapserv instance like:
mapserv.fcgi?map=mapfile1.map
mapserv.fcgi?map=mapfile2.map
mapserv.fcgi?map=mapfile3.map
mapserv.fcgi?map=mapfile4.map
mapserv.fcgi?map=mapfile5.map
Am I using more memory with my static build than if they all referencing
the shared libmapserver.so?
Thanks,
rich
I believe you will pay for the cost of one executable, the others will
share the code pages, but get their own data pages.
So no, you probably are not using more memory using static build.
-Andy
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users