You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2015/10/31 19:06:27 UTC

[jira] [Updated] (LUCENE-6872) IndexWriter OOM handling should be any VirtualMachineError

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

Robert Muir updated LUCENE-6872:
--------------------------------
    Attachment: LUCENE-6872.patch

patch: I renamed the test and added a second test method testing another subclass.

> IndexWriter OOM handling should be any VirtualMachineError
> ----------------------------------------------------------
>
>                 Key: LUCENE-6872
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6872
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>         Attachments: LUCENE-6872.patch
>
>
> IndexWriter is defensive in this case: this error could come from any unexpected place.
> But its superclass VirtualMachineError is the correct one: "Thrown to indicate that the Java Virtual Machine is broken or has run out of resources necessary for it to continue operating."



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org