Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Mar 2013 11:35:02 -0700 (PDT)
From:      Unga <unga888@yahoo.com>
To:        "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>
Subject:   FreeBSD 9.1 excessive memory allocations
Message-ID:  <1364322902.78474.YahooMailNeo@web161904.mail.bf1.yahoo.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1364322902.78474.YahooMailNeo>