From: Scott D. <mar...@gm...> - 2012-03-20 15:33:53
|
Hi Jake, I'm sorry the sim has been running so slowly on your machine. It's been a while since I've tried it using OpenJDK 6; my normal development/testing environment is Ubuntu 10.04 with Oracle/Sun Java 1.6 (usually through Eclipse). I'll do some run tests with the OpenJDK to see if there are significant performance differences. There is indeed a memory leak bug in version 3.01 (the last stable release) in which the old simulation is not properly cleared out of memory when a new simulation is created or loaded. This bug is fixed in the current development build, along with some performance improvements. I still plan on trying to improve the application performance for the next release (I've been using the VisualVM profiler that comes with the Oracle/Sun JDK). You may want to check out the latest development version of the project from the subversion code repository. The project uses maven as a build tool, and can be set up in Eclipse (with plugins) or built through the command line. The subversion code repository check out info is here: http://sourceforge.net/scm/?type=svn&group_id=3286 If you want to set up an Eclipse development environment, this is the how-to: http://sourceforge.net/apps/mediawiki/mars-sim/index.php?title=Getting_Started_with_MSP If you'd like to set up a command line development environment, you'll need subversion and maven installed on your system (through ubuntu apt-get). Check out from the code repository, then run the following maven goals to compile, install, and run the program: mvn compile mvn install cd mars-sim-min mvn exec:java -Dexec.mainClass="org.mars_sim.msp.MarsProject" The sim can also be run headless (without the UI) with the -headless argument. This may be useful for profiling. I hope this is useful to you. Please let me know if you have any questions or run into problems. Scott Davis Mars Simulation Project http://mars-sim.sourceforge.net sc...@us... On Thu, Mar 15, 2012 at 6:35 AM, Jake Sebastian-Jones <jak...@st...> wrote: > Hi there! > > I was looking for a profiling project as part of the metrics component > of my software eng. degree. I thought I would try and profile mars-sim > as I tried to use it a year ago or so and gave up because it was so > slow. > > So I downloaded an ran the jar, but it is still so slow on my machine > (the simulation doesn't load and the process gobbles up CPU). I think > that this must actually be a bug in the way the sim runs on my machine, > unless I am _supposed_ to wait ten mins for the sim to load (something I > have not tried) > > tl;dr I would love to profile mars-sim for my assignment - I just cant > get it to launch a sim. > > Jake > > PS. > Ubuntu 11.04 / GNOME 2.6 > OpenJDK 6 > Phenom II X4 > 4GB RAM > > > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > Mars-sim-users mailing list > Mar...@li... > https://lists.sourceforge.net/lists/listinfo/mars-sim-users |