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.
我正在分析一个正在泄漏内存的 Java 程序。使用 JProfiler 我看到我得到了疯狂数量的 byte[] 数据。有没有办法知道更多关于它的信息?它何时分配/创建,在哪里?
您应该能够找到这些数组的 GC 根的路径,这应该告诉您它们的用途。