smalltalk.rc
changeset 1090 3fd37decc978
parent 933 8c19cfd716ea
child 1111 a139aac9c633
equal deleted inserted replaced
1089:edf8cbb4ade9 1090:3fd37decc978
   371 "/ for short periods of time, since it prepares itself for that situation
   371 "/ for short periods of time, since it prepares itself for that situation
   372 "/ during idle time. (I often walk around in the fileBrowser, loading big
   372 "/ during idle time. (I often walk around in the fileBrowser, loading big
   373 "/ files like XWorkstation.st or SystemBrowser.st ....)
   373 "/ files like XWorkstation.st or SystemBrowser.st ....)
   374 
   374 
   375 ObjectMemory freeSpaceGCAmount:1000000.
   375 ObjectMemory freeSpaceGCAmount:1000000.
   376 ObjectMemory freeSpaceGCLimit:250000.
   376 ObjectMemory freeSpaceGCLimit:(256*1024).
   377 ObjectMemory incrementalGCLimit:500000.
   377 ObjectMemory incrementalGCLimit:(512*1024).
   378 ObjectMemory oldSpaceIncrement:500000.
   378 ObjectMemory oldSpaceIncrement:(512*1024).
   379 ObjectMemory oldSpaceCompressLimit:0.   "/ temporary kludge
   379 ObjectMemory oldSpaceCompressLimit:0.   "/ temporary kludge
   380 ObjectMemory startBackgroundCollectorAt:5.
   380 ObjectMemory startBackgroundCollectorAt:5.
   381 ObjectMemory startBackgroundFinalizationAt:5.
   381 ObjectMemory startBackgroundFinalizationAt:5.
   382 
   382 
   383 "/ this limits the amount of memory which is allocated for oldSpace
   383 "/ this limits the amount of memory which is allocated for oldSpace
   384 "/ (for example to prevent ST/X from taking memory from other processes)
   384 "/ (for example to prevent ST/X from taking memory from other processes)
   385 "/ The absolute maximum is a builtIn constant and OS specific.
   385 "/ The absolute maximum is a builtIn constant and OS specific.
   386 
   386 
   387 "/ ObjectMemory maxOldSpace:1024*1024*128.
   387 "/ ObjectMemory maxOldSpace:1024*1024*128.
   388 ObjectMemory maxOldSpace:1024*1024*256.
   388 ObjectMemory maxOldSpace:1024*1024*512.
       
   389 ObjectMemory newSpaceSize:(2*1024*1024).
   389 
   390 
   390 "/ experimental:
   391 "/ experimental:
   391 "/ run the background collector at a dynamic priority - it will
   392 "/ run the background collector at a dynamic priority - it will
   392 "/ now always get a chance to make some progress ...
   393 "/ now always get a chance to make some progress ...
   393 
   394