From: <dm...@us...> - 2008-08-18 08:12:59
|
This is what I used -server -Xmx7g -Xms4g -XX:MaxPermSize=256m -XX:+AggressiveOpts -XX:+UseBiasedLocking -XX:+UseFastAccessorMethods -XX:+RelaxAccessControlCheck -XX:-UseSpinning -XX:PreBlockSpin=10 -XX:+PrintCommandLineFlags -XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled -XX:+UseAdaptiveGCBoundary But try -Xmx3500m If your machine will let you But if you are stuck on 32bits? Here was a nifty trick I found if you have patience, rebuild the Java RTL using http://www.excelsior-usa.com/jetdleval.html In fact JET only supports 32bit mode java Initialization time = 58.926 secs. Start time: Wed Aug 06 11:20:14 PDT 2008 Lisp implementation: Cycorp Java SubL Runtime Environment JVM: Excelsior, LLC Excelsior JET 1.6.0_07 Current KB: 7133 Patch Level: 1.13022 Running on: titan OS: Linux 2.6.27-0.208.rc1.git2.fc10.x86_64 (i386) Working directory: /opensim/bin Total memory allocated to VM: 2294MB. Memory currently used: 2066MB. Memory currently available: 227MB. HTTP server listening on port 3602. Connect via URL http://titan:3602/cgi-bin/cg?cb-start Ready for services. CYC(1): the GOOD part is the less heap overhead of memory needed to run the App. AS Compared to OpenJDK Initialization time = 53.171 secs. Start time: Tue Aug 05 22:55:53 PDT 2008 Lisp implementation: Cycorp Java SubL Runtime Environment JVM: Sun Microsystems Inc. OpenJDK 64-Bit Server VM 1.6.0-b09 Current KB: 7133 Patch Level: 1.13022 Running on: titan OS: Linux 2.6.27-0.208.rc1.git2.fc10.x86_64 (amd64) Working directory: /opensim/bin Total memory allocated to VM: 4268MB. Memory currently used: 2538MB. Memory currently available: 1729MB. HTTP server listening on port 3602. Connect via URL http://titan:3602/cgi-bin/cg?cb-start Ready for services. CYC(1): Now only using XJAVA (Part of the JET Eval above) the Memory currently used: 1577MB. However it runs much slower in this Interpreted mode. But all the java heap object are way smaller! ----- Original Message ----- From: Paul Fodor To: dm...@us... ; OpenCyc developers Sent: Friday, August 15, 2008 8:19 PM Subject: Re: [OpenCyc-devel] Cyc engine > Looks like the Research CYC JRTL is working: Yes, thank you very much. Everything seems correct. How much memory did you allocated for the Java Virtual Machine? I allocated -Xmx1500m. Regards, thank you, Paul Fodor. |