You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Daniel John Debrunner (JIRA)" <de...@db.apache.org> on 2006/08/21 03:14:14 UTC

[jira] Resolved: (DERBY-1714) huge single insert statements fail with JVM error due to size of generated method

     [ http://issues.apache.org/jira/browse/DERBY-1714?page=all ]

Daniel John Debrunner resolved DERBY-1714.
------------------------------------------

    Fix Version/s: 10.2.1.0
                   10.3.0.0
       Resolution: Fixed

Resolve by the changes to DERBY-766

> huge single insert statements fail with JVM error due to size of generated method
> ---------------------------------------------------------------------------------
>
>                 Key: DERBY-1714
>                 URL: http://issues.apache.org/jira/browse/DERBY-1714
>             Project: Derby
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 10.1.3.1
>         Environment: debian linux, sun java j2sdk 1.5
>            Reporter: Julian Morrison
>         Assigned To: Daniel John Debrunner
>            Priority: Minor
>             Fix For: 10.2.1.0, 10.3.0.0
>
>         Attachments: Region_bad.sql
>
>
> ERROR XBCM1: Java linkage error thrown during load of generated class org.apache.derby.exe.ace5214067x010dx1c21xe385x00000011be005.
> ERROR XJ001: Java exception: 'Invalid method Code length 68686 in class file org/apache/derby/exe/ace5214067x010dx1c21xe385x00000011be005: java.lang.ClassFormatError'.
> The above occurred when doing an insert statement using the mutiple row syntax "INSERT INTO foo (...) VALUES (...), (...) ..." for huge amounts of input data. I was able to insert 500 rows at once, but it balked at 1000.
> Workaround: chunk one huge insert into several merely big inserts before sending them to Derby.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira