java.lang.​OutOfMemor​yError: GC overhead limit exceeded

조회 수: 53(최근 30일)
Ansam Al-sabti
Ansam Al-sabti 2016년 2월 26일
댓글: Ansam Al-sabti 2016년 3월 4일
I am using xmlread to read a large XML file I got an error with the following message:
Error using xmlread (line 106)
Java exception occurred:
java.lang.OutOfMemoryError: GC overhead limit exceeded
Error in Netanalysis (line 6)
xDoc = xmlread('net3.xgmml');
Exception in thread "qtp1449763573-100" java.lang.OutOfMemoryError: GC overhead limit exceeded
Exception in thread "Explorer NavigationContext request queue" java.lang.OutOfMemoryError: GC overhead
Error in xmlread (line 106)
parseResult = p.parse(fileObj);
Error in Netanalysis (line 6)
xDoc = xmlread('net3.xgmml');
Whats wrong here? Thank you for your help in advance!

답변(1개)

Shivam Chaturvedi
Shivam Chaturvedi 2016년 3월 2일
Hi Ansam,
Are you using a custom toolbox? I see a "Netanalysis" function.
Also, you can try increasing the Java Heap memory if it helps.
  댓글 수: 1
Ansam Al-sabti
Ansam Al-sabti 2016년 3월 4일
Hi Shivan I did not use function I wrote the code the problem is my file very large 1.5 GB Do u have any suggestion to resolve the problem

댓글을 달려면 로그인하십시오.

범주

Find more on Startup and Shutdown in Help Center and File Exchange

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by