Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
为了在我的本地系统上测试和复制内存不足问题,我正在考虑创建一个巨大的响应体(字符串格式),理想情况下应该超过 JVM 的堆内存。
是否可以创建一个大约 2GB 的非常大的字符串,然后将其分配给响应实体?
请帮忙。