packages/lang/jamvm/patches/001-heap_size.patch
nico 333257fb94 [packages] jamvm fixes:
- enable on mipsel (closes: #4027)
 - set a reasonable max heap size for embedded devices (closes: #3157)
   can always be overridden with cmdline args
 - add dependency on libptread
 - remove duplicate use of TARGET_CFLAGS
 - bump release number


git-svn-id: svn://svn.openwrt.org/openwrt/packages@12656 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-23 10:21:05 +00:00

12 lines
335 B
Diff

--- jamvm-1.5.0-old/src/jam.h 2007-10-26 05:08:41.000000000 +0200
+++ jamvm-1.5.0-new/src/jam.h 2008-02-06 10:52:01.000000000 +0100
@@ -676,7 +676,7 @@
/* default maximum size of object heap */
#ifndef DEFAULT_MAX_HEAP
-#define DEFAULT_MAX_HEAP 128*MB
+#define DEFAULT_MAX_HEAP 8*MB
#endif
/* default size of the Java stack */