FreeBSD 9.1 excessive memory allocations

Alexander Yerenkow yerenkow at gmail.com
Tue Mar 26 20:08:34 UTC 2013


2013/3/26 Tony Li <tony.li at tony.li>

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

Sorry, can't remember exactly, but you could search current- or stable-
 for something like you got.
This related IIRC with changes in thread subsystem, so basically each
thread will consume now more mem.
Search for details, your description is ringing some bell :)

> >
> >
> > 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
>
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
>



-- 
Regards,
Alexander Yerenkow


More information about the freebsd-stable mailing list