static public void setDebugLeaks ( boolean b ) { if ( b ) { count_openFiles . set ( 0 ) ; maxOpenFiles . set ( 0 ) ; allFiles = new HashSet <> ( 1000 ) ; } debugLeaks = b ; }
Debugging do not use in production . Set counters to zero set debugging on