Memory usage: jemalloc v/s libc allocator

Daniel Micay danielmicay at gmail.com
Tue Mar 3 08:49:29 PST 2015


On 03/03/15 09:38 AM, Eduardo Silva wrote:
> Hi,
> 
> I got some reports about high memory usage by our open source project
> when jemalloc is enabled, to put you in context: Monkey HTTP Server[0]
> by default uses jemalloc in static linking mode, but optionally at
> build time can use the common system allocator.
> 
> When starting the server with jemalloc, the server uses an average of
> 8MB, when is disabled (common system allocator) it goes down to 174KB.
> This is a major concern when used on Embedded environments so I would
> like to know how can we reduce the space used by jemalloc initially.
> 
> If required I can provide steps to reproduce the scenario.
> 
> [0] http://monkey-project.com
> 
> thanks for your time,

How are you measuring memory usage?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://jemalloc.net/mailman/jemalloc-discuss/attachments/20150303/3c758136/attachment.sig>


More information about the jemalloc-discuss mailing list