Changeset: 86f04702779d for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=86f04702779d
Modified Files:
        gdk/gdk_posix.c
Branch: config_rss
Log Message:

GetProcessMemoryInfo is defined on all relevant Windows platforms.


diffs (16 lines):

diff --git a/gdk/gdk_posix.c b/gdk/gdk_posix.c
--- a/gdk/gdk_posix.c
+++ b/gdk/gdk_posix.c
@@ -744,11 +744,10 @@ MT_init_posix(void)
 size_t
 MT_getrss(void)
 {
-#ifdef _WIN64
        PROCESS_MEMORY_COUNTERS ctr;
        if (GetProcessMemoryInfo(GetCurrentProcess(), &ctr, sizeof(ctr)))
                return ctr.WorkingSetSize;
-#endif
+               
        return 0;
 }
 
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to