Re: [math] java.lang.OutOfMemoryError: Java heap space: DescriptiveStatistics.addValue() ...

2019-01-24 Thread Albretch Mueller
On 1/24/19, Gilles Sadowski wrote: > This caveat is mentioned in the documentation: > > http://commons.apache.org/proper/commons-math/javadocs/api-3.6.1/org/apache/commons/math3/stat/descriptive/DescriptiveStatistics.html > >> Is there a way around that problem? > > Yes; also mentioned in the

Re: [math] java.lang.OutOfMemoryError: Java heap space: DescriptiveStatistics.addValue() ...

2019-01-24 Thread Gilles Sadowski
Hello. Le jeu. 24 janv. 2019 à 08:23, Albretch Mueller a écrit : > > I am "consistently" getting java.lang.OutOfMemoryError while trying > to use DescriptiveStatistics. > > The files I am using are relatively large and I need to analyze the > byte distributions in them. I am taking care of

Re: [math] java.lang.OutOfMemoryError: Java heap space: DescriptiveStatistics.addValue() ...

2019-01-24 Thread Albretch Mueller
On 1/24/19, Albretch Mueller wrote: > I am "consistently" getting java.lang.OutOfMemoryError while trying > to use DescriptiveStatistics. Actually, this is what I needed: import org.apache.commons.math3.stat.descriptive.moment.Mean; import

[math] java.lang.OutOfMemoryError: Java heap space: DescriptiveStatistics.addValue() ...

2019-01-23 Thread Albretch Mueller
I am "consistently" getting java.lang.OutOfMemoryError while trying to use DescriptiveStatistics. The files I am using are relatively large and I need to analyze the byte distributions in them. I am taking care of clearing the cash each time I run a new sample . . . I can't quite get why this