smalltalk.rc
changeset 1297 aed67182399b
parent 1276 80b650ffab1c
child 1298 0ac96786d93f
--- a/smalltalk.rc	Sat Feb 02 01:23:31 2013 +0100
+++ b/smalltalk.rc	Mon Feb 04 18:47:31 2013 +0100
@@ -403,8 +403,17 @@
 "/ The absolute maximum is a builtIn constant and OS specific.
 
 "/ ObjectMemory maxOldSpace:1024*1024*128.
-ObjectMemory maxOldSpace:1024*1024*512.
-ObjectMemory newSpaceSize:(2*1024*1024).
+"/ ObjectMemory maxOldSpace:1024*1024*512.
+
+"/ this changes the size of the eden generation, where objects
+"/ are initially allocated. Making it bigger may increase pause
+"/ times a bit, if many objects survive, but reduces the overall overhead
+"/ For server type applications (request-response-loops such as in webServers),
+"/ it is a good idea to make it big enough to handle a request-cycles temporary
+"/ data
+
+"/ ObjectMemory newSpaceSize:(2*1024*1024).
+"/ ObjectMemory newSpaceSize:(8*1024*1024).
 
 "/ experimental:
 "/ run the background collector at a dynamic priority - it will
@@ -426,7 +435,7 @@
 "/ If you have a machine with lots of (real) memory, you may want to
 "/ increase the number. The value below should be ok for 16-32Mb machines.
 "/
-ObjectMemory fastMoreOldSpaceLimit:8*1024*1024.
+ObjectMemory fastMoreOldSpaceLimit:64*1024*1024.
 ObjectMemory fastMoreOldSpaceAllocation:true.
 !