<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Barbara,<div class=""><br class=""></div><div class="">Actually, before you do anything else, can you try this?</div><div class=""><br class=""></div><div class="">1) Set photons_per_chunk = 10e6 as before</div><div class="">2) If you don’t have this file already, create a file in the ${HOME}/.yt directory called “config”. Make it look like this:</div><div class=""><br class=""></div><div class="">[yt]</div><div class="">chunk_size = 100</div><div class=""><br class=""></div><div class="">This should split the problem up a little more and hopefully make the memory more manageable. </div><div class=""><br class=""></div><div class="">Best,</div><div class=""><br class=""></div><div class="">John</div><div class=""><br class=""></div><div class=""><div><blockquote type="cite" class=""><div class="">On Sep 22, 2015, at 10:01 AM, Barbara Ramirez <<a href="mailto:Barbara.Ramirez-Mosquera@uibk.ac.at" class="">Barbara.Ramirez-Mosquera@uibk.ac.at</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
  
    <meta content="text/html; charset=windows-1252" http-equiv="Content-Type" class="">
  
  <div bgcolor="#FFFFFF" text="#000000" class="">
    <div class="moz-cite-prefix">Hello John!<br class="">
      Sure, I hadn't understand before. Here are my object properties:<br class="">
      <br class="">
      R200: 1.00654482691 Mpccm/h<br class="">
      Total Mass at R200: 3.65901447937e+14 Msun<br class="">
      Avg Temperature at R200: 5.70273 E 7 K<br class="">
      <br class="">
      I tried decreasing the Area to 2000 but I'm still getting the
      memory error.<br class="">
      <br class="">
      With a photons_per_chunk of: 10 E 6 I get:<br class="">
        <font color="#666666" class="">  RuntimeError: Number of photons
        generated for this chunk exceeds photons_per_chunk</font><br class="">
      With an increase of 10 (10 E 7 photons_per_chunk) I get the same
      Runtime error, but with an increase of 100 I get memory error!<br class="">
      <br class="">
      Again, observation parameters:<br class="">
          A = 2000.<br class="">
          exp_time = 100.0e3<br class="">
          redshift = 0.05<br class="">
      <br class="">
      Do you have any idea on how could we solve this?<br class="">
      <br class="">
      Thanks for your time!<br class="">
      <br class="">
    </div>
    <pre class="moz-signature" cols="72">-- 
Barbara L. Ramirez MSc.
Institut für Astro- und Teilchenphysik
University of Innsbruck</pre>
  </div>

_______________________________________________<br class="">yt-users mailing list<br class=""><a href="mailto:yt-users@lists.spacepope.org" class="">yt-users@lists.spacepope.org</a><br class="">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org<br class=""></div></blockquote></div><br class=""></div></body></html>