<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt">Maybe these links can help <br><br>http://blogs.opcodesolutions.com/roller/java/entry/solve_java_lang_outofmemoryerror_java<br><br>http://javarevisited.blogspot.com/2011/09/javalangoutofmemoryerror-permgen-space.html<br><br>http://stackoverflow.com/questions/37335/how-to-deal-with-java-lang-outofmemoryerror-java-heap-space-error-64mb-heap<br><div><span><br></span></div><div><br></div> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> ClaireMarie Barnes <cmbarnes@live.co.uk><br> <b><span style="font-weight: bold;">To:</span></b> camino-users@www.nitrc.org <br> <b><span style="font-weight:
bold;">Sent:</span></b> Tuesday, December 4, 2012 10:57 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> [Camino-users] simulations<br> </font> </div> <br>
<div id="yiv888885688">
<style><!--
#yiv888885688 .yiv888885688hmmessage P
{
margin:0px;padding:0px;}
#yiv888885688 body.yiv888885688hmmessage
{
font-size:10pt;font-family:Tahoma;}
--></style>
<div><div dir="ltr">
Hi there,<br><br>I am trying to simulate data using the following command;<br><br>datasynth -walkers 100000 -tmax 1000 -voxels 1 -p 0.0 -schemefile 17x17x17new.scheme -initial uniform -substrate cylinder -packing hex -cylinderrad 1E-6 -cylindersep 2.1E-6 > regcylinderfornewscheme.bfloat<br><br><br>The simulation works fine if I do it for 10000 walkers but reading the literature it is better to do such a simulation with 100000 walkers however, I get the following error on my PC when I attempt this;<br><br>Exception in thread "main" java.lang.OutOfMemoryError: Java heap space<br> at simulation.dynamics.Walker.<init>(Walker.java:98)<br> at simulation.dynamics.WalkerFactory.getWalker(WalkerFactory.java:51)<br> at simulation.DiffusionSimulation.initialiseWalkers(DiffusionSimulation.java:298)<br> at
simulation.DiffusionSimulation.nextVoxel(DiffusionSimulation.java:578)<br> at apps.SyntheticData.execute(SyntheticData.java:74)<br> at apps.EntryPoint.main(EntryPoint.java:266)<br>I understand you may not be able to help me but I do not know much about java and was wondering if you could shed some light on my problem<br><br>Many thanks in advance <br>Claire<br>                                            </div></div>
</div><br>_______________________________________________<br>Camino-users mailing list<br><a ymailto="mailto:Camino-users@www.nitrc.org" href="mailto:Camino-users@www.nitrc.org">Camino-users@www.nitrc.org</a><br><a href="http://www.nitrc.org/mailman/listinfo/camino-users" target="_blank">http://www.nitrc.org/mailman/listinfo/camino-users</a><br><br><br> </div> </div> </div></body></html>