Created attachment 152185 [details]
Memory usage during compilation
System is 10.1-RELEASE-p4 amd64 on ZFS with 4GB RAM.
I'm trying to compile lang/ghc port, but this also happens while building www/chromium so I think it's a problem with the memory system.
After some time during the compilation the system hangs with no "Free" memory according to top. At this time Inactive is around 2.4GB
The system does still ping but shells are unresponsive, even on the console and there are no error messages. System is unusable and I'm only able to hard reboot.
Processes in top are in pfault-state.
I thought it was the same as https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=187594 but the patch (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=187594#c197) didn't help.
Memory was tested with memtest and is fine.
Attached is an image showing the memory usage during compilation and after the hang.
Just tested, and this also happens on 9.3-RELEASE and 10-STABLE at r278312.