title: System.OutOfMemoryException on WCF Web Service
body: <p>I struggle on a System.OutOfMemoryException when performing an import process where a lot of objects are being created.</p>
  
  <p>The effect is that the ASPNET_WP.EXE blows up to 1.4 GB and the exception will be thrown.</p>
  
  <p>I already tried to implement IDisposable and calling the Garbage Collector (GC.Collect()) in that responsible functions, but no effect.</p>
  
  <p>The Server is a QuadCore (C2Q) with 4 GB RAM. Even if there is more RAM free than 1,4 GB the exception is always thrown when the aspnet_wp.exe reaches 1.4 GB.</p>
  
  <p>What can I do to avoid these OutOfMemory issues?</p>
  
  <p>The exact exception message is:</p>
  
  <pre><code>System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
  at
  OpenAccessRuntime.DataObjects.PersistenceManagerFactoryBase.
  CreatePersistenceMangerImp(StorageManger sm)
  at
  ....
  </code></pre>