/usr/bin/as: out of memory allocating 4194304 bytes after a total of 524288000 bytes

Dimitry Andric dim at FreeBSD.org
Fri Apr 20 20:10:34 UTC 2012


On 2012-04-20 21:54, Jason Evans wrote:
> On Apr 20, 2012, at 12:49 PM, Dimitry Andric wrote:
...
>> I think the best solution would be for jemalloc to avoid using obvious
>> names like "chunksize" for its globals, because it is basically a
>> library that could be linked to any sort of program out there.
>>
>> For example, it could prefix all its internal-use only globals with
>> "jemalloc_" or some other mangling scheme.  Jason, any thoughts?
>
> jemalloc has optional namespace mangling support built in for just this reason.  I'll turn it on, hopefully today.

Indeed, I had just found jemalloc/internal/private_namespace.h. :)  It
does seem to list only functions, not variables, is that right?


More information about the freebsd-current mailing list