From: Agnieszka Z. <agn...@gm...> - 2010-07-13 18:28:16
|
Hello, I experience problems running Example 03 of the Resource Failure package. I run my symulation on 4GB RAM server and occasionally get the 'OutOfMemory Java heap space' error. The situation gets worse (most or all of the simulations terminated without success) when I try to increase the number of gridlets/users in the simulation. I would like to simulate a custom network with larger number of gridlets but I could not find solution to this problem. Could You please help? The log : Ex03_User_16: Receiving Gridlet #3 with status Success at time = 1561.3607151999936 from resource Ex03_Res_6 Ex03_User_16: Receiving Gridlet #4 with status Success at time = 1562.030715199993 from resource Ex03_Res_6 Exception in thread "Ex03_Res_6_SpaceShared" java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Unknown Source) at java.lang.AbstractStringBuilder.expandCapacity(Unknown Source) at java.lang.AbstractStringBuilder.append(Unknown Source) at java.lang.StringBuffer.append(Unknown Source) at gridsim.Gridlet.write(Unknown Source) at gridsim.Gridlet.setGridletStatus(Unknown Source) at gridsim.ResGridlet.setGridletStatus(Unknown Source) at gridsim.resFailure.SpaceSharedWithFailure.gridletFinish(Unknown Source) at gridsim.resFailure.SpaceSharedWithFailure.checkGridletCompletion(Unknown Source) at gridsim.resFailure.SpaceSharedWithFailure.body(Unknown Source) at eduni.simjava.Sim_entity.run(Sim_entity.java:605) Thank You, Best regards, Agnieszka Zyguła |