From: ye <hua...@gm...> - 2008-09-05 13:23:40
|
Hi, Dear all: Although I have asked a similar question in gridsim-user maillist, there seems no similar experience from other developers. Since it's an crucial problem for me, I'd to make the scenario much clear and beg for help. For brief, is there any scale limit for simulation created via GridSim? I was trying to set up a gridsim simulation with 1000 resource; each resource contains one machine, each machine has two PEs. Then, I wrote a user to retrieve resource list within its body(), and print the total size. However, the program halts with an OutOfMemoryError, every time before "Entities started" was printed. The user's body() was never visited. I am working on a mac 10.5, 2GB 667 Mhz memory, mac JVM 1.5; meanwhile, I already adjust the vm parameter into "-Xms512m -Xmx1024m". Later, I tried the same program on my server (ubuntu 8.04, 3.2GB). Fortunately, it works... but, it halts again with OOME while i decide create 1100 resources. I am not sure the problem is caused by lacking of memory? Is there any limit for gridsim simulation scale, or just for GridSim Resource? Or it's bug derived from simjava? Finally, is it possible to solve it? Thank you guys a lot!! regards ye -- Ye Huang, Department of Informatics University of Fribourg / Pérolles 2 - Bld de Pérolles 90 1700 Fribourg, Switzerland e-mail: ye....@he..., ye....@un... http://diuf.unifr.ch/people/huangy/ Office: +41 26 429 65 95 |