You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Rob Tompkins (JIRA)" <ji...@apache.org> on 2017/04/26 13:01:04 UTC
[jira] [Commented] (MATH-1385) java.lang.OutOfMemoryError: GC
overhead limit exceeded
[ 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)