This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Fixing Lion libpng issues | |
# Until this issue https://github.com/mxcl/homebrew/issues/4468 is resolved | |
# installing Lion screws up ImageMagick's png support. # The following steps | |
# are a hacky work around to get things going again. `identify: memory | |
# allocation failed` is the error # message you'll receive before applying the | |
# fix. | |
brew uninstall imagemagick | |
cd /usr/X11R6/lib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/gc.c b/gc.c | |
--- a/gc.c | |
+++ b/gc.c | |
@@ -77,6 +77,41 @@ void *alloca (); | |
#ifndef GC_MALLOC_LIMIT | |
#define GC_MALLOC_LIMIT 8000000 | |
#endif | |
+#define HEAP_MIN_SLOTS 10000 | |
+#define FREE_MIN 4096 | |
+ |