FreeBSD 9.1 excessive memory allocations

Unga unga888 at yahoo.com
Tue Mar 26 18:38:18 UTC 2013


Hi all


I have a heavily threaded C application, developed on an Intel Core i5 laptop (2 cores) running FreeBSD 8.1-RELEASE.

When this application compile and run on another Intel Core i7 laptop (4 cores) running FreeBSD 9.1-RELEASE, this application immediately starts grabbing memory by over 100MB per second and soon exit with not enough RAM.


Both laptops having 4GB RAM.

All malloc and free are mutex locked.

Very rarely this problem happens on the i5 (2 cores) laptop too, but on the i7 laptop, it happens every time.

Appreciate any feedback to identify and fix this issue.

Best regards
Unga



More information about the freebsd-stable mailing list