johnmyleswhite / StreamStats.jl

Compute statistics over data streams in pure Julia
Other
48 stars 7 forks source link

Are the tests quite memory intensive? #21

Open IainNZ opened 9 years ago

IainNZ commented 9 years ago

On PkgEval:

>>> test log
Running tests:
    PASSED: mean.jl
    PASSED: var.jl
    PASSED: std.jl
    PASSED: moments.jl
    PASSED: cov.jl
    PASSED: cor.jl
    PASSED: min.jl
    PASSED: max.jl
    PASSED: approx_quantile.jl
    PASSED: hyper_log_log.jl
    PASSED: approx_distinct.jl
    PASSED: bootstrap.jl
    PASSED: sample.jl
    FAILED: approx_ols.jl
MemoryError()
 in anonymous at no file:41
 in include at ./boot.jl:245
 in include_from_node1 at loading.jl:128
 in process_options at ./client.jl:285
 in _start at ./client.jl:354
while loading /home/vagrant/testpkg/v0.3/StreamStats/test/approx_ols.jl, in expression starting on line 6
    FAILED: approx_logit.jl
MemoryError()
 in anonymous at no file:41
 in include at ./boot.jl:245
 in include_from_node1 at loading.jl:128
 in process_options at ./client.jl:285
 in _start at ./client.jl:354
while loading /home/vagrant/testpkg/v0.3/StreamStats/test/approx_logit.jl, in expression starting on line 8

ERROR: "Tests failed"
 in include at ./boot.jl:245
 in include_from_node1 at loading.jl:128
 in process_options at ./client.jl:285
 in _start at ./client.jl:354
while loading /home/vagrant/testpkg/v0.3/StreamStats/test/runtests.jl, in expression starting on line 48

INFO: Testing StreamStats

Each VM has 1.5GB RAM, so I was surprised to see this (Julia 0.3, if it matters)

johnmyleswhite commented 9 years ago

It's quite possible the tests are very memory intensive: I've only run them on a machine with 16 GB of RAM.