title: Too many open files Maven Netbeans
body: <p>I've come across an error which I cannot figure out, even after extensive internet searching.</p>
  
  <p>I am running a Maven project in Java to SSH to a remote location, the project had been building fine for the past week until I encountered this error message:</p>
  
  <blockquote>
    <p>Error executing Maven.
    2 problems were encountered while building the effective settings
    Non-readable settings /Applications/NetBeans/NetBeans 8.0.app/Contents/Resources/NetBeans/java/maven/conf/settings.xml: /Applications/NetBeans/NetBeans 8.0.app/Contents/Resources/NetBeans/java/maven/conf/settings.xml (Too many open files in system) @ /Applications/NetBeans/NetBeans 8.0.app/Contents/Resources/NetBeans/java/maven/conf/settings.xml
    Failed to use environment variables for interpolation: Cannot run program "env": error=23, Too many open files in system @ </p>
  </blockquote>
  
  <p>Is there a way to delete these <em>files</em> as I cannot build my application anymore.</p>
  
  <p>Many thanks</p>
  
  <p>David</p>