vieiro commented on issue #329: [NETBEANS-210] Setting tmp directory
URL: 
https://github.com/apache/incubator-netbeans/pull/329#issuecomment-353317803
 
 
   Hi,
   
   (I've edited the title to see if this sends stuff to JIRA).
   
   Good points, Emilian, thanks.
   
   Maybe the problem is with the Maven indexer itself. Instead of trying to 
fill the java.io.tmpdir until exhaustion and then fail (for those systems where 
java.io.tmpdir lives in memory this is very bad) it should probably check first 
if there's enough space to proceed.
   
   Since that's tough to do in a portable way maybe the best workaround is to 
have the maven indexer to use Places to create a  specific working directory in 
the "cache directory" and ensure that it's cleaned up once it's done. 
   
   On startup we could check if that working directory exists (because of 
previous fatal exit, for instance) and clean it up too.
   
   The "tmp" partition space is the default Debian installation size, so I 
assume many Debian users will suffer the problem. I may want to see if Debian 
derivatives are also affected. Will report back.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to