Author: scooter
Date: 2011-06-09 09:54:41 -0700 (Thu, 09 Jun 2011)
New Revision: 25688

Modified:
   cytoscape/trunk/distribution/src/main/bin/cytoscape.bat
   cytoscape/trunk/distribution/src/main/bin/gen_vmoptions.bat
Log:
On windows platforms we can't detect the amount of physical memory, so
we need to be more conservative with our defaults.


Modified: cytoscape/trunk/distribution/src/main/bin/cytoscape.bat
===================================================================
--- cytoscape/trunk/distribution/src/main/bin/cytoscape.bat     2011-06-09 
02:01:49 UTC (rev 25687)
+++ cytoscape/trunk/distribution/src/main/bin/cytoscape.bat     2011-06-09 
16:54:41 UTC (rev 25688)
@@ -13,7 +13,7 @@
 IF EXIST "Cytoscape.vmoptions" GOTO itIsThere
 ; Run with defaults:
 echo "*** Missing Cytoscape.vmoptions, falling back to using defaults!"
-java -Dswing.aatext=true -Dawt.useSystemAAFontSettings=lcd -Xss10M -Xmx1550M 
-jar cytoscape.jar -p plugins %*
+java -Dswing.aatext=true -Dawt.useSystemAAFontSettings=lcd -Xss10M -Xmx768M 
-jar cytoscape.jar -p plugins %*
 GOTO end
 
 :: We end up here if we have a Cytoscape.vmoptions file:
@@ -28,4 +28,4 @@
 java !opt1! !opt2! !opt3! !opt4! !opt5! !opt6! !opt7! !opt8! !opt9! -jar 
cytoscape.jar -p plugins %*
 
 
-:end
\ No newline at end of file
+:end

Modified: cytoscape/trunk/distribution/src/main/bin/gen_vmoptions.bat
===================================================================
--- cytoscape/trunk/distribution/src/main/bin/gen_vmoptions.bat 2011-06-09 
02:01:49 UTC (rev 25687)
+++ cytoscape/trunk/distribution/src/main/bin/gen_vmoptions.bat 2011-06-09 
16:54:41 UTC (rev 25688)
@@ -14,13 +14,13 @@
 
 :64bit
        echo -Xms20m > Cytoscape.vmoptions
-       echo -Xmx2g  >>Cytoscape.vmoptions
+       echo -Xmx768m  >>Cytoscape.vmoptions
        echo -Xss10m >>Cytoscape.vmoptions
        goto shared
 
 :32bit
        echo -Xms10m   > Cytoscape.vmoptions
-       echo -Xmx1550m >>Cytoscape.vmoptions
+       echo -Xmx768m >>Cytoscape.vmoptions
        echo -Xss10m   >>Cytoscape.vmoptions
 
 :shared

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to