title: Datomic: robust settings to avoid timeouts and out-of-memory errors
body: <p>I'm running the same datomic-backed application on a variety of architectures with varying amounts of memory (1GB - 16GB).  When I do bulk imports of data I frequently run into timeouts or out-of-memory errors.</p>
  
  <p>After looking at the documentation I happened upon this <a href="http://docs.datomic.com/capacity.html" rel="nofollow">helpful document</a> (and <a href="http://support.datomic.com/customer/portal/articles/820670-configuring-transactor-memory" rel="nofollow">this one</a>) which seem to outline best practices to obtain good performance under heavy imports.</p>
  
  <p>I'm not as interested in performance as I am in making imports "just work." This leads to my main question:</p>
  
  <p><em>What is the minimum complexity configuration to ensure that an arbitrarily large import process terminates on a given machine?</em>  </p>
  
  <p>I understand that this configuration may be a function of my available memory, that's fine.  I also understand that it may not be maximally performant; that's also fine.  But I do need know that it will terminate.</p>