title: "ORA-03135: connection lost contact" when inserting large file
body: <p>I'm trying to do an insert with a potentially large amount of binary data into a remote Oracle (11g) database using Entity Framework (ODP.Net). It works fine for really small files (&lt;5 KB), but for larger ones (e.g. 44 KB) I get an error: "ORA-03135: connection lost contact".</p>
  
  <p>I don't think it's timing out, as the exception occurs within a second of executing the command.</p>
  
  <p>I tried setting both of the following in my connection string, but to no avail:</p>
  
  <ul>
  <li><code>Validate Connection=true</code></li>
  <li><code>Pooling=false</code></li>
  </ul>
  
  <p>I also looked in the <code>listener.log</code> file on the remote machine. It shows the connections being made, but no sign of exceptions or terminated connections.</p>
  
  <p>I'm up for suggested fixes or troubleshooting methods.</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>The same SQL operations work when accessing an Oracle instance on the local network.</p>