[jira] [Commented] (MATH-1385) java.lang.OutOfMemoryError: GC overhead limit exceeded

2019-12-24 Thread Gilles Sadowski (Jira)


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

Gilles Sadowski commented on MATH-1385:
---

[Discussion on "dev" ML|https://markmail.org/message/tzbsiz7uufycb75u] 
suggested an alternative for large arrays of {{Complex}} numbers.

> 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
>Priority: Major
> 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
(v8.3.4#803005)


[jira] [Commented] (MATH-1385) java.lang.OutOfMemoryError: GC overhead limit exceeded

2019-12-01 Thread Gilles Sadowski (Jira)


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

Gilles Sadowski commented on MATH-1385:
---

Any feedback on this?

> 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
>Priority: Major
> 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
(v8.3.4#803005)


[jira] [Commented] (MATH-1385) java.lang.OutOfMemoryError: GC overhead limit exceeded

2017-04-26 Thread Gilles (JIRA)

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

Gilles commented on MATH-1385:
--

Please start a thread on the "dev" ML.
I recall that there was a discussion about whether we should just drop the FFT 
code (IIRC due to its being much less efficient than alternatives).
Eric probably has further to say about this issue.

> 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)


[jira] [Commented] (MATH-1385) java.lang.OutOfMemoryError: GC overhead limit exceeded

2017-04-26 Thread Rob Tompkins (JIRA)

[ 
https://issues.apache.org/jira/browse/MATH-1385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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)


[jira] [Commented] (MATH-1385) java.lang.OutOfMemoryError: GC overhead limit exceeded

2016-09-19 Thread Gilles (JIRA)

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

Gilles commented on MATH-1385:
--

Thanks for the report.

Could you try the development version and set up a JUnit test?
JAR is available here: 
[https://repository.apache.org/content/repositories/snapshots/org/apache/commons/commons-math4/4.0-SNAPSHOT]


> 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
>
> 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.4#6332)