Github user vanzin commented on the pull request:
https://github.com/apache/spark/pull/1387#issuecomment-49072778
@witgo the problem is that there's no reliable way to make sure the gc has
run. Have you tried with all available gcs in the Oracle vm? Have you tried
with different vms? I've actually worked on a JVM where `System.gc()` was
actually a no-op. In that situation your `runGC()` method might take a really
long time to finish, if it ever does.
---
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 [email protected] or file a JIRA ticket
with INFRA.
---