commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Tompkins (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MATH-1385) java.lang.OutOfMemoryError: GC overhead limit exceeded
Date Wed, 26 Apr 2017 13:01:04 GMT

    [ https://issues.apache.org/jira/browse/MATH-1385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15984750#comment-15984750
] 

Rob Tompkins commented on MATH-1385:
------------------------------------

The issue at hand here is that we have no upper limits on the size of the array returned by
{{TransformUtils.createComplexArray}}, and this causes the potential for memory profile limitations.


I wonder if we could somehow perform the transform in portions as opposed to doing a complete
copy of the input data here: https://github.com/apache/commons-math/blob/MATH_3_6_1/src/main/java/org/apache/commons/math3/transform/FastFourierTransformer.java#L370-L372

or minimally not make a second copy of the data in the {{TransformUtils}}.

> java.lang.OutOfMemoryError: GC overhead limit exceeded
> ------------------------------------------------------
>
>                 Key: MATH-1385
>                 URL: https://issues.apache.org/jira/browse/MATH-1385
>             Project: Commons Math
>          Issue Type: Bug
>         Environment: Windows 10, jdk 8, Netbeans 8.1
>            Reporter: Pasquale Calorigero
>             Fix For: 4.0
>
>
> I'm writing code for shorttime fourier transform , but jvm return this error Exception
in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded
> 	at org.apache.commons.math3.transform.TransformUtils.createComplexArray(TransformUtils.java:138)
> 	at org.apache.commons.math3.transform.FastFourierTransformer.transform(FastFourierTransformer.java:376)
> Seems that your code everytime that compute fft , causes the execution of gc.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message