The PR_GetPhysicalMemorySize() call is not implemented in the FreeBSD port of nspr. This causes Firefox to disable memory cache. How-To-Repeat: % cd /usr/ports/devel/nspr; make install % cat > nspr-test.c #include "prio.h" #include "prerror.h" #include "prprf.h" #include "prsystem.h" int main(int argc, char **argv) { PRUint64 i = PR_GetPhysicalMemorySize(); PRFileDesc *out = PR_GetSpecialFD(PR_StandardOutput); if(i != 0) { PR_fprintf(out, "Physical memory size = %llu\n", i); } else { if(PR_GetError() == PR_NOT_IMPLEMENTED_ERROR) PR_fprintf(out, "PR_GetPhysicalMemorySize not implemented\n"); } return 0; } % cc -Wall -o nspr-test nspr-test.c `nspr-config --cflags` `nspr-config --libs` % ./nspr-test PR_GetPhysicalMemorySize not implemented
Responsible Changed From-To: freebsd-ports-bugs->gnome Over to maintainer
State Changed From-To: open->closed Committed with some minor modifications. Thanks!