Dear,
I write sample with dbus-glib. (C program)
But i found when i run add connection or get infor. from NM.
The VSZ will become very large & can't free mem.
Then, i try to use NM C sample.
NetworkManager 0.8.999/example/C/glib/*.c
when i add "for function" to check VSZ issue.
every processes will occur the same issue.
So, The dbus-glib can't free VSZ complete?!
for example:
NetworkManager 0.8.999/example/C/glib/get-ap-info-libnm-glib.c
int main(int argc, char *argv[])
{
.......
int j = 0;
for ( j=0 ; j<65535 ;j++ ){
g_type_init();
bus=dbus_g_get(DBUS_BUS_SYSTEM, NULL);
.......
}
}
check VSZ:
ps aux | grep get-ap-info-libnm-glib
It will check VSZ
Edward
_______________________________________________
networkmanager-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/networkmanager-list