File tree 1 file changed +17
-0
lines changed
1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -149,6 +149,23 @@ pkg install -y pkgconf vips
149
149
cd /usr/ports/graphics/vips/ && make install clean
150
150
```
151
151
152
+ ## Linux memory allocator
153
+
154
+ The default memory allocator on most glibc-based Linux systems
155
+ (e.g. Debian, Red Hat) is unsuitable for long-running, multi-threaded
156
+ processes that involve lots of small memory allocations.
157
+
158
+ For this reason, by default, sharp will limit the use of thread-based
159
+ [ concurrency] ( api-utility#concurrency ) when the glibc allocator is
160
+ detected at runtime.
161
+
162
+ To help avoid fragmentation and improve performance on these systems,
163
+ the use of an alternative memory allocator such as
164
+ [ jemalloc] ( https://github.com/jemalloc/jemalloc ) is recommended.
165
+
166
+ Those using musl-based Linux (e.g. Alpine) and non-Linux systems are
167
+ unaffected.
168
+
152
169
## Heroku
153
170
154
171
Add the
You can’t perform that action at this time.
0 commit comments