javamavennetbeansbuildbuild-process

Too many open files Maven Netbeans


I've come across an error which I cannot figure out, even after extensive internet searching.

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:

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 @

Is there a way to delete these files as I cannot build my application anymore.

Many thanks

David


Solution

  • You can try using ulimit -v unlimited in the bash profile of user.