mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
OOM
This commit is contained in:
@@ -47,7 +47,7 @@ public abstract class WeaksTestCase extends TestCase {
|
||||
System.gc();
|
||||
try {
|
||||
List<Object> list = new ArrayList<Object>();
|
||||
while (Runtime.getRuntime().freeMemory() > 10000) {
|
||||
while (Runtime.getRuntime().freeMemory() > 100000) {
|
||||
list.add(new byte[1000]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user