Please explain the limitations of getting data out of teradata using sql

조회 수: 2 (최근 30일)
Alex B
Alex B 2014년 10월 22일
답변: per isakson 2014년 10월 22일
Error using cursor/fetch (line 283) Java exception occurred: java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Unknown Source)
at java.util.Vector.grow(Unknown Source)
at java.util.Vector.ensureCapacityHelper(Unknown Source)
at java.util.Vector.addElement(Unknown Source)
at com.mathworks.toolbox.database.fetchTheData.dataFetch(fetchTheData.java:666)
Error in loadPrepaymentData (line 36) cursor = fetch(cursor);
  댓글 수: 1
Geoff Hayes
Geoff Hayes 2014년 10월 22일
Alex - you may want to show some of the code (and in particular the query) that you are using when the above is generated. What is the version of MATLAB that you are using? What are the expected number of records being returned from your SQL query?

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

답변 (1개)

per isakson
per isakson 2014년 10월 22일
Take a chance and increase the heap. See Java Heap Memory Preferences

카테고리

Help CenterFile Exchange에서 Call Java from MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by