jzgithub1 commented on issue #1534: GarbageCollectorIT.gcLotsOfCandidatesIT 
failure
URL: https://github.com/apache/accumulo/issues/1534#issuecomment-594121328
 
 
   I wrapped the call gc.runServer() in the main function of 
SimpleGarbageCollector in a try catch like this and did not hit a breakpoint 
set in the log.error statement I wrote:
   ```java
   public static void main(String[] args) throws Exception {
       try (SimpleGarbageCollector gc = new SimpleGarbageCollector(new 
ServerOpts(), args)) {
         try {
           gc.runServer();
         } catch (OutOfMemoryError outOfMemoryError) {
           log.error("Out of memory error in SimpleGarbageCollector");
         }
       }
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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

Reply via email to