Bigger initial heap size.
This commit is contained in:
parent
b5190d9c71
commit
672f205694
9
c/main.c
9
c/main.c
|
@ -10,7 +10,7 @@
|
|||
*/
|
||||
#if !defined(DEFAULT_HEAP_SIZE)
|
||||
/* 4 megacell = 16 megabytes (8 meg per semispace) */
|
||||
#define DEFAULT_HEAP_SIZE 4000000L
|
||||
#define DEFAULT_HEAP_SIZE 4500000L
|
||||
#endif
|
||||
|
||||
#if !defined(DEFAULT_STACK_SIZE)
|
||||
|
@ -37,9 +37,10 @@ char ** process_args(char **argv,
|
|||
char **object_file,
|
||||
char **image_name);
|
||||
|
||||
int internal_s48_main(long heap_size, long stack_size,
|
||||
char* prog_name, char* object_file, char* image_name,
|
||||
int argc, char** argv);
|
||||
extern int
|
||||
internal_s48_main(long heap_size, long stack_size,
|
||||
char* prog_name, char* object_file, char* image_name,
|
||||
int argc, char** argv);
|
||||
|
||||
int
|
||||
main(argc, argv)
|
||||
|
|
Loading…
Reference in New Issue