db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristian Waagan (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-4130) Using large stream with 'values cast(? as clob)' causes OutOfMemoryError
Date Mon, 30 Mar 2009 13:42:50 GMT

     [ https://issues.apache.org/jira/browse/DERBY-4130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kristian Waagan updated DERBY-4130:
-----------------------------------

    Attachment: ClobInValuesClauseOOME.java

Attached a repro for the issue. Remember to run Java with a heap of less than 64 MB. 
Also include the Derby test jar/classes in the classpath when compiling.

> Using large stream with 'values cast(? as clob)'  causes OutOfMemoryError
> -------------------------------------------------------------------------
>
>                 Key: DERBY-4130
>                 URL: https://issues.apache.org/jira/browse/DERBY-4130
>             Project: Derby
>          Issue Type: Bug
>          Components: Store
>    Affects Versions: 10.6.0.0
>            Reporter: Kristian Waagan
>         Attachments: ClobInValuesClauseOOME.java
>
>
> Inserting a stream though a values clause and casting the value to a Clob causes the
stream to be materialized in memory.
> If the stream is sufficiently large, this will result in an OutOfMemoryError.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message