From: Shuo Y. <ya...@cs...> - 2008-07-10 09:25:52
|
Dear GridSim team, I'm Shuo Yang, a PhD student at University of Manchester, UK. I'm doing my research project with simulations based on GridSim. However I encountered scalability issues in the simulation where there are around 4000 threads (entities) with Java exception 'java.lang.OutOfMemoryError: Java heap space' The simulation ran for ~48 hours with increasing memory usage and ended up with the OutOfMemoryError exceptions. Please could you help more with tuning? Here's more info: $ uname -a Linux nimue.rcs.manchester.ac.uk 2.6.18-1.2798.fc6 #1 SMP Mon Oct 16 14:54:20 EDT 2006 i686 i686 i386 GNU/Linux $ java -version java version "1.6.0_06" Java(TM) SE Runtime Environment (build 1.6.0_06-b02) Java HotSpot(TM) Server VM (build 10.0-b22, mixed mode) $ ps aux | grep java yangs 12579 109 43.7 2915672 1473316 ? Sl 03:10 1011:15 java -Xss128k -Xms1024m -Xmx1024m -cp gridsim-lib/gridsim.jar:. topology/HierarchySimulation true $ free -mt total used free shared buffers cached Mem: 3290 2055 1235 0 83 363 -/+ buffers/cache: 1608 1682 Swap: 8001 0 8001 Total: 11291 2055 9236 $ top PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ SWAP CODE DATA COMMAND 12579 yangs 17 0 2847m 1.4g 5624 S 100 43.7 1057:02 1.4g 40 2.8g java Many thanks, Shuo 'Alex' Yang. School of Computer Science University of Manchester |