We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 021e2e7 commit 01fe6c5Copy full SHA for 01fe6c5
graalpython/com.oracle.graal.python.test/src/com/oracle/graal/python/test/advance/LeakTest.java
@@ -185,6 +185,11 @@ private MBeanServer doFullGC() {
185
// do this a few times to dump a small heap if we can
186
MBeanServer server = null;
187
for (int i = 0; i < 10; i++) {
188
+ try {
189
+ Thread.sleep(1000);
190
+ } catch (InterruptedException e1) {
191
+ // do nothing
192
+ }
193
System.gc();
194
Runtime.getRuntime().freeMemory();
195
server = ManagementFactory.getPlatformMBeanServer();
0 commit comments