Github user ravipesala commented on a diff in the pull request:

    
https://github.com/apache/incubator-carbondata/pull/709#discussion_r110081787
  
    --- Diff: 
examples/spark2/src/main/scala/org/apache/carbondata/examples/CompareTest.scala 
---
    @@ -306,6 +307,8 @@ object CompareTest {
         // do GC and sleep for some time before running next table
         System.gc()
         Thread.sleep(1000)
    +    System.gc()
    --- End diff --
    
    There is no guarntee that GC will be called after calling of System.gc(), 
thats why after waiting for 1 second called again to increase the probability 
of running GC 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to