Changeset: 9bb07836e907 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=9bb07836e907 Modified Files: gdk/gdk_utils.c Branch: Nov2019 Log Message:
Print more information when mmap fails due to overuse of virtual memory. diffs (19 lines): diff --git a/gdk/gdk_utils.c b/gdk/gdk_utils.c --- a/gdk/gdk_utils.c +++ b/gdk/gdk_utils.c @@ -2049,6 +2049,7 @@ GDKmmap(const char *path, int mode, size void *ret; if (GDKvm_cursize() + len >= GDK_vm_maxsize) { + GDKmemfail("GDKmmap", len); GDKerror("allocating too much virtual address space\n"); return NULL; } @@ -2082,6 +2083,7 @@ GDKmremap(const char *path, int mode, vo if (*new_size > old_size && GDKvm_cursize() + *new_size - old_size >= GDK_vm_maxsize) { + GDKmemfail("GDKmmap", *new_size); GDKerror("allocating too much virtual address space\n"); return NULL; } _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list