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 Center および File ExchangeCall Java from MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by