[prev in list] [next in list] [prev in thread] [next in thread]
List: jakarta-commons-dev
Subject: [jira] [Commented] (MATH-1262) Heap overflow in org.apache.commons.math4.special.BesselJ
From: "Otmar Ertl (JIRA)" <jira () apache ! org>
Date: 2015-08-30 18:58:45
Message-ID: JIRA.12858643.1440514192000.205865.1440961125725 () Atlassian ! JIRA
[Download RAW message or body]
[ https://issues.apache.org/jira/browse/MATH-1262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14721676#comment-14721676 \
]
Otmar Ertl commented on MATH-1262:
----------------------------------
This [paper|http://www.cl.cam.ac.uk/~jrh13/papers/bessel.pdf] could be interesting.
> Heap overflow in org.apache.commons.math4.special.BesselJ
> ---------------------------------------------------------
>
> Key: MATH-1262
> URL: https://issues.apache.org/jira/browse/MATH-1262
> Project: Commons Math
> Issue Type: Bug
> Affects Versions: 4.0
> Reporter: Neil Walkinshaw
> Priority: Minor
> Labels: newbie, performance
>
> This test case:
> {code:java}
> import org.apache.commons.math4.special.BesselJ;
> public class BesselJHeapBug {
> public static void main(String[] args) {
> BesselJ.value(1182054491, 3.589635306407856E-8D);
> }
> }
> {code}
> throws the following exception:
> {code}
> Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
> at org.apache.commons.math4.special.BesselJ.rjBesl(BesselJ.java:247)
> at org.apache.commons.math4.special.BesselJ.value(BesselJ.java:161)
> at BesselJHeapBug.main(BesselJHeapBug.java:5)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic