我的应用程序XMLReader从远程位置读取XML文件。开始读取的最大文件大小(以字节为单位)是多少?
谢谢
if ($file_size > XXX)
{
exit('Wohooo that is a massive file to handle for me. Chop it up please');
}
我的程序抛出以下异常:
java.lang.OutOfMemoryError: unable to create new native thread
但是当我将-XX:+HeapDumpOnOutOfMemoryError添加到jvm参数中时,似乎jvm没有转储堆,因为我从未找到任何.hprof文件。为什么?