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 "Kristian Waagan (JIRA)" <ji...@apache.org> on 2009/03/30 15:42:50 UTC
[jira] Updated: (DERBY-4130) Using large stream with 'values cast(?
as clob)' causes OutOfMemoryError
[ 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.