Hi, I used "-g3G" option set eclipse to take maximum 3GB of global/trail stack at runtime. However, my program crashed with the following error: *** Overflow of the global/trail stack in spite of garbage collection! You can use the "-g kBytes" (GLOBALSIZE) option to have a larger stack. Peak sizes were: global stack 131008 kbytes, trail stack 19136 kbytes Abort I thought the amount of global/trail stack was not enough and checked the stacks usage for previous session using "statistics." and got the following information: global_stack_used: 1192 bytes global_stack_allocated: 4259840 bytes global_stack_peak: 134152192 bytes trail_stack_used: 200 bytes trail_stack_allocated: 2162688 bytes trail_stack_peak: 19595264 bytes I expected to see that global_stack_peak was as big as 3GB, but global_stack_peak (134152192 bytes) was alot less than 3GB. Does this mean it was not the shortage of memory which caused the program to crash? So what could cause my program to crash and caused the error message to be displayed? Many thanks, DavidReceived on Mon Dec 18 2006 - 00:11:35 CET
This archive was generated by hypermail 2.3.0 : Wed Sep 25 2024 - 15:13:20 CEST