FreeBSD 9.1 excessive memory allocations

Tony Li tony.li at tony.li
Tue Mar 26 19:54:43 UTC 2013


> 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.


How is this anything except an application issue?

Tony



More information about the freebsd-stable mailing list