Find out correct system memory when run in a container.
Find out correct system memory when run in a container.

When GPDB is running in a container, the swap and ram read via sysinfo is the value of host machine. To find the correct value of swap and ram in the container context, we take both the value from sysinfo and the value from cgroup into account. 
kaknikhil/gpdb,janebeckman/gpdb,Quikling/gpdb,jmcatamney/gpdb,ashwinstar/gpdb,yuanzhao/gpdb,cjcjameson/gpdb,adam8157/gpdb,50wu/gpdb,Chibin/gpdb,kaknikhil/gpdb,ashwinstar/gpdb,yuanzhao/gpdb,edespino/gpdb,edespino/gpdb,xinzweb/gpdb,kaknikhil/gpdb,greenplum-db/gpdb,50wu/gpdb,ashwinstar/gpdb,xinzweb/gpdb,ashwinstar/gpdb,cjcjameson/gpdb,Quikling/gpdb,yuanzhao/gpdb,ashwinstar/gpdb,cjcjameson/gpdb,edespino/gpdb,Quikling/gpdb,Quikling/gpdb,edespino/gpdb,yuanzhao/gpdb,Chibin/gpdb,jmcatamney/gpdb,50wu/gpdb,lisakowen/gpdb,Chibin/gpdb,kaknikhil/gpdb,Quikling/gpdb,yuanzhao/gpdb,janebeckman/gpdb,janebeckman/gpdb,cjcjameson/gpdb,janebeckman/gpdb,jmcatamney/gpdb,greenplum-db/gpdb,janebeckman/gpdb,cjcjameson/gpdb,cjcjameson/gpdb,kaknikhil/gpdb,cjcjameson/gpdb,kaknikhil/gpdb,Chibin/gpdb,lisakowen/gpdb,lisakowen/gpdb,Quikling/gpdb,50wu/gpdb,greenplum-db/gpdb,greenplum-db/gpdb,edespino/gpdb,yuanzhao/gpdb,xinzweb/gpdb,janebeckman/gpdb,kaknikhil/gpdb,adam8157/gpdb,ashwinstar/gpdb,cjcjameson/gpdb,adam8157/gpdb,xinzweb/gpdb,adam8157/gpdb,jmcatamney/gpdb,lisakowen/gpdb,Chibin/gpdb,Chibin/gpdb,adam8157/gpdb,janebeckman/gpdb,Quikling/gpdb,xinzweb/gpdb,edespino/gpdb,cjcjameson/gpdb,jmcatamney/gpdb,kaknikhil/gpdb,yuanzhao/gpdb,ashwinstar/gpdb,Chibin/gpdb,kaknikhil/gpdb,yuanzhao/gpdb,adam8157/gpdb,xinzweb/gpdb,Quikling/gpdb,Chibin/gpdb,greenplum-db/gpdb,greenplum-db/gpdb,greenplum-db/gpdb,xinzweb/gpdb,cjcjameson/gpdb,lisakowen/gpdb,janebeckman/gpdb,50wu/gpdb,50wu/gpdb,greenplum-db/gpdb,janebeckman/gpdb,yuanzhao/gpdb,Chibin/gpdb,edespino/gpdb,adam8157/gpdb,jmcatamney/gpdb,50wu/gpdb,lisakowen/gpdb,lisakowen/gpdb,Quikling/gpdb,edespino/gpdb,edespino/gpdb,ashwinstar/gpdb,kaknikhil/gpdb,adam8157/gpdb,xinzweb/gpdb,50wu/gpdb,Quikling/gpdb,yuanzhao/gpdb,jmcatamney/gpdb,edespino/gpdb,lisakowen/gpdb,jmcatamney/gpdb,Chibin/gpdb,janebeckman/gpdb