提交代码

This commit is contained in:
2026-02-12 20:54:28 +08:00
parent b9849070bb
commit e4a33b630e
8 changed files with 278 additions and 15 deletions

View File

@@ -3,13 +3,6 @@ import java.util.List;
public class Main {
public static void main(String[] args) {
List<byte[]> holder = new ArrayList<>();
int mb = 1024 * 1024;
long i = 0;
while (true) {
holder.add(new byte[10 * mb]);
i++;
System.out.println("allocated ~" + (i * 10) + "MB");
}
System.out.println("helloworld ");
}
}