Huh, heap size was too small.
authortwisti <none@none>
Tue, 30 Mar 2004 23:00:14 +0000 (23:00 +0000)
committertwisti <none@none>
Tue, 30 Mar 2004 23:00:14 +0000 (23:00 +0000)
headers.c
src/cacaoh/headers.c

index d263c199c4db5aa8919cfeff7929fa42952393d0..f3436ad3807d5f890c50b9dc99c4712abcdc8f10 100644 (file)
--- a/headers.c
+++ b/headers.c
@@ -29,7 +29,7 @@
    Changes: Mark Probst
             Philipp Tomsich
 
-   $Id: headers.c 997 2004-03-30 21:49:28Z twisti $
+   $Id: headers.c 1004 2004-03-30 23:00:14Z twisti $
 
 */
 
@@ -594,7 +594,8 @@ int main(int argc, char **argv)
    
        char classpath[500] = "";
        char offsets_filename[1024] = ""; /* phil */
-       u4 heapsize = 100000;
+       u4 heapmaxsize = 500000;
+       u4 heapstartsize = 100000;
 
        /*********** options so only headers are generated *******************/
    
@@ -658,7 +659,7 @@ int main(int argc, char **argv)
        tables_init();
 
        /* initialize the gc heap */
-       heap_init(heapsize, heapsize);
+       heap_init(heapmaxsize, heapstartsize);
 
 #if defined(USE_THREADS) && defined(NATIVE_THREADS)
        initThreadsEarly();
index d263c199c4db5aa8919cfeff7929fa42952393d0..f3436ad3807d5f890c50b9dc99c4712abcdc8f10 100644 (file)
@@ -29,7 +29,7 @@
    Changes: Mark Probst
             Philipp Tomsich
 
-   $Id: headers.c 997 2004-03-30 21:49:28Z twisti $
+   $Id: headers.c 1004 2004-03-30 23:00:14Z twisti $
 
 */
 
@@ -594,7 +594,8 @@ int main(int argc, char **argv)
    
        char classpath[500] = "";
        char offsets_filename[1024] = ""; /* phil */
-       u4 heapsize = 100000;
+       u4 heapmaxsize = 500000;
+       u4 heapstartsize = 100000;
 
        /*********** options so only headers are generated *******************/
    
@@ -658,7 +659,7 @@ int main(int argc, char **argv)
        tables_init();
 
        /* initialize the gc heap */
-       heap_init(heapsize, heapsize);
+       heap_init(heapmaxsize, heapstartsize);
 
 #if defined(USE_THREADS) && defined(NATIVE_THREADS)
        initThreadsEarly();